MasonryGrid API
import { MasonryGrid } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
columnGap | Responsive<CssValue> | |
columns | Responsive<CssValue> | |
columnWidth | Responsive<CssValue> | |
display | Responsive<'block' | 'inline-block' | CssValue> | |
fill | Responsive<'auto' | 'balance' | 'balance-all' | CssValue> | |
gap | Responsive<CssValue> | |
headless | boolean | |
itemGap | Responsive<CssValue> |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-masonry-grid>
MasonryGrid renders the ui-masonry-grid custom element from @editora/ui-core, which can also be used without React.
Attributes: classname, headless
Events: layoutchange