Center
Center is a layout component that centers its child within itself.
Usage
import { Center } from '@vtex/admin-ui'
function Example() {
return (
<Center>
{/* content */}
</Center>
)
}
Examples
Centralized
To ensure the child is centered, put any child element inside and give it any width
and/or height
.
Loading...
Props
It accepts every prop of div