otissv / react-uikit-list

React uikit list component.
1 stars 0 forks source link

React.PropTypes warning #1

Open ilgarmehmetali opened 7 years ago

ilgarmehmetali commented 7 years ago

I got this warning when testing the list

Warning: You are manually calling a React.PropTypes validation function for the href prop on ListItem. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.

otissv commented 7 years ago

Thanks for raising this issue. I'll fix it at the weekend. In the meantime can you paste your code here so I can reproduce the error.

ilgarmehmetali commented 7 years ago

First time checking out react so ı was just testing the example code from docs.

  <List line>
    <ListItem body='Item' />
    <ListItem body='Item' />
    <ListItem body='Item' />
  </List>
otissv commented 7 years ago

Having a problem reproducing the warning. Could you provide which versions of npm, react, react-dom and react-uikit-list? Also the full stack trace error. Thanks