Box
View Source
Box is the primitive component that other components build from. It is responsible for processing all style props.
Box with padding and a background color.
Copy
Edit
Props
as
any
Render custom component or HTML element tag.
innerRef
any
Gain access to the internal ref
inline
boolean
If true, sets “display: inline-block”, otherwise it defaults to “display: block”
visible
boolean
Controls display property. If false
sets display: none
, otherwise defaults to initial display value.