Add "8" to HStack space options
This commit is contained in:
parent
45147cd546
commit
5884d02e9d
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ const spaces = {
|
||||||
3: 'space-x-3',
|
3: 'space-x-3',
|
||||||
4: 'space-x-4',
|
4: 'space-x-4',
|
||||||
6: 'space-x-6',
|
6: 'space-x-6',
|
||||||
|
8: 'space-x-8',
|
||||||
};
|
};
|
||||||
|
|
||||||
interface IHStack {
|
interface IHStack {
|
||||||
|
@ -33,7 +34,7 @@ interface IHStack {
|
||||||
/** Horizontal alignment of children. */
|
/** Horizontal alignment of children. */
|
||||||
justifyContent?: 'between' | 'center' | 'start' | 'end',
|
justifyContent?: 'between' | 'center' | 'start' | 'end',
|
||||||
/** Size of the gap between elements. */
|
/** 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. */
|
/** Whether to let the flexbox grow. */
|
||||||
grow?: boolean,
|
grow?: boolean,
|
||||||
/** Extra CSS styles for the <div> */
|
/** Extra CSS styles for the <div> */
|
||||||
|
|
Loading…
Reference in a new issue