Permalink
Browse files

Fix Row gutter type

  • Loading branch information...
yesmeck committed May 17, 2018
1 parent cafeb8e commit b7d508e1662bf20a0cacbe6440a2ce31a65a8a59
Showing with 2 additions and 9 deletions.
  1. +2 −9 components/grid/row.tsx
@@ -22,17 +22,10 @@ import classNames from 'classnames';
import PropTypes from 'prop-types';
export type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
export type BreakpointMap = {
xs?: string;
sm?: string;
md?: string;
lg?: string;
xl?: string;
xxl?: string
};
export type BreakpointMap = Partial<Record<Breakpoint, string>>;
export interface RowProps extends React.HTMLAttributes<HTMLDivElement> {
gutter?: number | BreakpointMap;
gutter?: number | Partial<Record<Breakpoint, number>>;
type?: 'flex';
align?: 'top' | 'middle' | 'bottom';
justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between';

0 comments on commit b7d508e

Please sign in to comment.