Center
Centers content vertically and horizontally
Import
Source
Docs
Package
Center component props
Name | Type | Description |
---|---|---|
children * | ReactNode | Content that should be centered vertically and horizontally |
inline | boolean | Set to true to use inline-flex instead of flex |