Box Component
matheuslanduci opened this issue Β· comments
Feature request π
- I will create Pull Request
- It's just a suggestion
Expected
- Hey! So, what about a Box component? Just a basic
div
with no style, basic style properties likepadding
,width
and aas
prop to transform the tag fromdiv
to another HTML tag (e.g.form
) and support its properties.
Examples
import { Box } from '@geist-ui/core'
function Page() {
return (
<Box as="form" py={4} onSubmit={...} action={...}>
...
</Box>
)
}
Programme (Optional)
Others (Optional)
is anything moving forward?