Skip to content

Warning: Unknown props layout, horizontal, justifyBetween on <div> tag. #11

@corneyl

Description

@corneyl

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
+-- react@15.4.2
+-- react-blocks@1.1.4
| `-- react@0.14.8
`-- react-dom@15.4.2

Probably a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions