Search code examples
javascriptreactjsreact-toolbox

react js warnings in console unknown prop


I've got a reactJS application with react-toolbox

in console I got this error:

Warning: Unknown prop `raised` on <a> tag. Remove this prop from the element.

Any Idea how I can solve this warning? I don't want to remove the tag, is there workaround to get this worked with not removing this?

thanks

Update

 <Button icon='save' type="submit" label={<T value='processes.new.save'/>} raised primary/>

I use this stuff: http://react-toolbox.com/#/components/button


Solution

  • This is happening because the 'raised' prop is being added as a prop to the <a> that the <Link> makes. You can include additional information through the state property of the location.

    check Link docs