Add "items-start" support to Stack

alex-chats
Justin 2022-08-09 14:18:17 -04:00
rodzic 2f568ffc84
commit f0b3cc67aa
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -21,13 +21,14 @@ const justifyContentOptions = {
const alignItemsOptions = { const alignItemsOptions = {
center: 'items-center', center: 'items-center',
start: 'items-start',
}; };
interface IStack extends React.HTMLAttributes<HTMLDivElement> { interface IStack extends React.HTMLAttributes<HTMLDivElement> {
/** Size of the gap between elements. */ /** Size of the gap between elements. */
space?: SIZES, space?: SIZES,
/** Horizontal alignment of children. */ /** Horizontal alignment of children. */
alignItems?: 'center', alignItems?: 'center' | 'start',
/** Vertical alignment of children. */ /** Vertical alignment of children. */
justifyContent?: 'center', justifyContent?: 'center',
/** Extra class names on the <div> element. */ /** Extra class names on the <div> element. */