Type Definitions
object
# BoxProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
... |
string
|
<optional> |
Other props from SpaceProps, ColorProps, LayoutProps, FlexboxProps, PositionProps and BorderProps. |
flex |
FlexboxFlexProp
|
<optional> |
If box should be rendered as flex. You can pass boolean or FlexboxProps['flex'] |
variant |
'grey'
|
'white'
|
'card'
|
<optional> |
Box variants |
animate |
boolean
|
<optional> |
If set to true it makes css changes as 500ms transitions |
className |
string
|
<optional> |
Optional class name passed down to the wrapper |