react-blocks
react-blocks copied to clipboard
Warning: Unknown props `layout`, `horizontal`, `justifyBetween` on <div> tag.
I get the following error:
Warning: Unknown props `layout`, `horizontal`, `justifyBetween` on <div> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
With the following code:
import React from 'react'
import {render} from 'react-dom'
import Block from 'react-blocks';
render(
<Block layout horizontal justifyBetween>
Test
</Block>,
document.getElementById('app')
);
Using these versions:
npm list react react-dom react-blocks
+-- [email protected]
+-- [email protected]
| `-- [email protected]
`-- [email protected]
Probably a bug?
Same, getting the same warnings.
Might have to do with this? https://github.com/whoisandie/react-blocks/blob/master/src/block.js#L11
This project doesn't properly support React since v15.2.
This is true in other projects as well, that fixed it. e.g. https://github.com/okonet/react-dropzone/issues/193