@wix/design-system
Version:
@wix/design-system
29 lines (27 loc) • 1.11 kB
Markdown
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in the tests.
### children
- type: ReactNode
- description: Accept single or multiple compound <code><Cell/></code> elements which store content items. Other nodes are accepted but not recommended.
### className
- type: string
- description: Specifies a CSS class name to be appended to the component's root element.
### gap
- type: React.CSSProperties['gap']
- description: Control both vertical and horizontal distance between layout cells. Default is 24px.
### cols
- type: number
- description: Set a number of grid columns to be rendered.
### justifyItems
- type: React.CSSProperties['justifyItems']
- description: Align grid items on the X axis
### alignItems
- type: React.CSSProperties['alignItems']
- description: Aligns grid items on the Y axis
### rowHeight
- type: React.CSSProperties['gridAutoRows']
- description: Set all rows to have the same height in pixels or percentage. Default is <code>auto</code>.
### height
- type: React.CSSProperties['height']
- description: Set the height of the layout