UNPKG

grommet

Version:

focus on the essential experience

17 lines (13 loc) 1.08 kB
import * as React from "react"; export interface DistributionProps { a11yTitle?: string; alignSelf?: "start" | "center" | "end" | "stretch"; gridArea?: string; margin?: "none" | "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | {bottom?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,horizontal?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,left?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,right?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,top?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string,vertical?: "xxsmall" | "xsmall" | "small" | "medium" | "large" | "xlarge" | string} | string; children?: ((...args: any[]) => any); fill?: boolean; gap?: "xsmall" | "small" | "medium" | "large" | "xlarge" | string; values: {value: number, color?: string | {dark?: string,light?: string}}[]; } declare const Distribution: React.ComponentClass<DistributionProps & JSX.IntrinsicElements['div']>; export { Distribution };