Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 761 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 761 Bytes

@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