UNPKG

grommet

Version:

focus on the essential experience

35 lines (29 loc) 745 B
import * as React from 'react'; import { A11yTitleType, AlignSelfType, BasisType, GapType, GridAreaType, MarginType, } from '../../utils'; export interface DistributionProps { a11yTitle?: A11yTitleType; alignSelf?: AlignSelfType; basis?: BasisType; gridArea?: GridAreaType; margin?: MarginType; children?: (...args: any[]) => any; fill?: boolean; gap?: GapType; values: { value: number; color?: string | { dark?: string; light?: string }; }[]; } type divProps = Omit<JSX.IntrinsicElements['div'], 'children'>; export interface DistributionExtendedProps extends DistributionProps, divProps {} declare const Distribution: React.ComponentClass<DistributionExtendedProps>; export { Distribution };