RowAligns add 'stretch' value

This commit is contained in:
handy 2019-09-23 11:58:03 +08:00 committed by 偏右
parent 9f78fd093a
commit 133577f45e

View File

@ -10,7 +10,7 @@ import ResponsiveObserve, {
responsiveArray, responsiveArray,
} from '../_util/responsiveObserve'; } from '../_util/responsiveObserve';
const RowAligns = tuple('top', 'middle', 'bottom'); const RowAligns = tuple('top', 'middle', 'bottom', 'stretch');
const RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between'); const RowJustify = tuple('start', 'end', 'center', 'space-around', 'space-between');
export interface RowProps extends React.HTMLAttributes<HTMLDivElement> { export interface RowProps extends React.HTMLAttributes<HTMLDivElement> {
gutter?: number | Partial<Record<Breakpoint, number>>; gutter?: number | Partial<Record<Breakpoint, number>>;