sforkowany z mirror/soapbox
Add "8" to HStack space options
rodzic
45147cd546
commit
5884d02e9d
|
@ -23,6 +23,7 @@ const spaces = {
|
|||
3: 'space-x-3',
|
||||
4: 'space-x-4',
|
||||
6: 'space-x-6',
|
||||
8: 'space-x-8',
|
||||
};
|
||||
|
||||
interface IHStack {
|
||||
|
@ -33,7 +34,7 @@ interface IHStack {
|
|||
/** Horizontal alignment of children. */
|
||||
justifyContent?: 'between' | 'center' | 'start' | 'end',
|
||||
/** Size of the gap between elements. */
|
||||
space?: 0.5 | 1 | 1.5 | 2 | 3 | 4 | 6,
|
||||
space?: 0.5 | 1 | 1.5 | 2 | 3 | 4 | 6 | 8,
|
||||
/** Whether to let the flexbox grow. */
|
||||
grow?: boolean,
|
||||
/** Extra CSS styles for the <div> */
|
||||
|
|
Ładowanie…
Reference in New Issue