1.5.0 • Published 3 months ago
@snmt-react-ui/flex v1.5.0
Flex
Props
Name | Description | Type | Default |
---|---|---|---|
children | Children components to render | React.Node | - |
direction | Sets the direction for elements in the container (flex-direction) | "row" "column" | row |
gap | Sets the gap between element in the container | number | - |
flexWrap | Set whether the element is displayed in a single line or in multiple lines (flex-wrap) | "wrap" "nowrap" "wrap-reverse" "inherit" | nowrap |
alignItems | Sets the alignment of elements in the direction of the cross axis (align-items) | "normal" "stretch" "first baseline" "last baseline" "safe" "unsafe" "center" "start" "end" "self-start" "self-end" "flex-start" "flex-end" "anchor-center" | normal |
justifyContent | Sets the alignment of elements in the direction of the main axis (justify-content) | "normal" "stretch" "safe" "unsafe" "center" "start" "end" "flex-start" "flex-end" "space-between" "space-around" "space-evenly" | normal |
flex | Flex CSS shorthand properties (flex) | string | - |
component | Custom element type | React.ComponentType | - |
1.4.2
3 months ago
1.5.0
3 months ago
1.4.1
4 months ago
1.4.0
8 months ago
1.3.6
1 year ago
1.3.5
1 year ago
1.3.4
1 year ago
1.3.3
1 year ago
1.3.2
1 year ago
1.3.1
1 year ago
1.3.0
1 year ago
1.2.8
1 year ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.5
1 year ago
1.2.4
1 year ago
1.2.3
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.0
1 year ago
1.0.2
1 year ago