Move sensitive filters into new component

This commit is contained in:
Chewbacca
2022-10-20 10:48:41 -04:00
parent 400adfe0c6
commit a639c789a4
8 changed files with 262 additions and 178 deletions

View File

@ -15,6 +15,7 @@ const spaces = {
const justifyContentOptions = {
center: 'justify-center',
end: 'justify-end',
};
const alignItemsOptions = {
@ -27,7 +28,7 @@ interface IStack extends React.HTMLAttributes<HTMLDivElement> {
/** Horizontal alignment of children. */
alignItems?: 'center'
/** Vertical alignment of children. */
justifyContent?: 'center'
justifyContent?: keyof typeof justifyContentOptions
/** Extra class names on the <div> element. */
className?: string
/** Whether to let the flexbox grow. */