Skip to content

Commit

Permalink
Fix Row gutter type
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed May 17, 2018
1 parent cafeb8e commit b7d508e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions components/grid/row.tsx
Expand Up @@ -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';
Expand Down

0 comments on commit b7d508e

Please sign in to comment.