Center
Centers content both ways. minHeight gives the area height to center within; inline
renders an inline-flex element.
Centered
import { Center } from '@gg-software/ui';
<Center minHeight={120}>
<Badge label="Centered" variant="primary" />
</Center>Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | content rendered inside the component |
inline | boolean | false | |
minHeight | string | number | — | |
className | string | — | |
style | CSSProperties | — |
* required · generated from packages/ui/src/layout/Center/Center.tsx