Add "items-start" support to Stack
This commit is contained in:
parent
2f568ffc84
commit
f0b3cc67aa
1 changed files with 2 additions and 1 deletions
|
@ -21,13 +21,14 @@ const justifyContentOptions = {
|
|||
|
||||
const alignItemsOptions = {
|
||||
center: 'items-center',
|
||||
start: 'items-start',
|
||||
};
|
||||
|
||||
interface IStack extends React.HTMLAttributes<HTMLDivElement> {
|
||||
/** Size of the gap between elements. */
|
||||
space?: SIZES,
|
||||
/** Horizontal alignment of children. */
|
||||
alignItems?: 'center',
|
||||
alignItems?: 'center' | 'start',
|
||||
/** Vertical alignment of children. */
|
||||
justifyContent?: 'center',
|
||||
/** Extra class names on the <div> element. */
|
||||
|
|
Loading…
Reference in a new issue