1.0.0 • Published 4 years ago

@vtex-components/box v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@vtex-components/box

💡 Box is the most abstract component. You can use it as a Layout primitive. Renders a div by default.

NPM JavaScript Style Guide

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