Add "8" to HStack space options

sw-index-revalidate
Justin 2022-06-22 08:56:50 -04:00
rodzic 45147cd546
commit 5884d02e9d
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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> */