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
anyRender custom component or HTML element tag.
innerRef
anyGain access to the internal ref
inline
booleanIf true, sets “display: inline-block”, otherwise it defaults to “display: block”
visible
booleanControls display property. If false sets display: none, otherwise defaults to initial display value.