@roo-ui/components
Version:
46 lines (37 loc) • 617 B
Markdown
# Box
<!-- STORY -->
## Installation
```shell
$ yarn add @roo-ui/components
```
## Example
```js
import { Box } from '@roo-ui/components';
export default (
<Box>Hello world</Box>
);
```
## Customization
This component can be customized with [styled-system](https://jxnblk.com/styled-system) by passing props for
`display`,
`space`,
`width`,
`minWidth`,
`maxWidth`,
`height`,
`minHeight`,
`maxHeight`,
`color`,
`textAlign`,
`boxShadow`,
`borderRadius`,
`borders`,
`borderColor`,
`flexBasis`,
`flex`,
`position`,
`top`,
`right`,
`bottom`,
`left`, &
`zIndex` [functions](http://jxnblk.com/styled-system/table)