Grid API
import { Grid } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
align | Responsive<CssValue> | |
alignContent | Responsive<CssValue> | |
autoColumns | Responsive<CssValue> | |
autoFlow | Responsive<CssValue> | |
autoRows | Responsive<CssValue> | |
columnGap | Responsive<CssValue> | |
columns | Responsive<CssValue> | |
display | Responsive<'grid' | 'inline-grid' | CssValue> | |
gap | Responsive<CssValue> | |
headless | boolean | |
justify | Responsive<CssValue> | |
justifyContent | Responsive<CssValue> | |
place | Responsive<CssValue> | |
placeContent | Responsive<CssValue> | |
rowGap | Responsive<CssValue> | |
rows | Responsive<CssValue> |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-grid>
Grid renders the ui-grid custom element from @editora/ui-core, which can also be used without React.
Attributes: classname, headless
Events: layoutchange