@invisionag/iris-react-box
v1.3.2
Published
```js import Box from '@invisionag/iris-react-box'; import { Cell } from '@invisionag/iris-react-grid'; ```
Downloads
65
Maintainers
Keywords
Readme
import Box from '@invisionag/iris-react-box';
import { Cell } from '@invisionag/iris-react-grid';
iris-react-box
is our basic implementation of a white box, used to wrap content.
Usage
Box
The Box
component provides a white wrapper for all of our content and other elements. A basic GridContainer
is also already included.
Please note that you must wrap your content inside Box
in a Cell
component! There are no other direct children allowed than the Cell
component.
Code example
<Box>
<Cell>Content goes here</Cell>
</Box>
Props
The Box
component has no Props.