@vtex-components/box
v1.0.0
Published
VTEX box component
Downloads
1
Keywords
Readme
@vtex-components/box
💡 Box is the most abstract component. You can use it as a Layout primitive. Renders a div by default.
Install
yarn add @vtex-components/box
Reakit and ThemeUI are peer dependencies, so you must add them with:
yarn add reakit theme-ui
Usage
import React from 'react'
import Box from '@vtex-component/box'
function Example() {
return <Box>Box content</Box>
}
License
MIT © vtex