UNPKG

593 BTypeScriptView Raw
1import * as React from 'react';
2import { FlexPropsType as BasePropsType } from './PropsType';
3export interface FlexProps extends BasePropsType {
4 alignContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'stretch';
5 onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
6 prefixCls?: string;
7 className?: string;
8 role?: string;
9 style?: React.CSSProperties;
10}
11export default class Flex extends React.Component<FlexProps, any> {
12 static Item: any;
13 static defaultProps: {
14 prefixCls: string;
15 align: string;
16 };
17 render(): JSX.Element;
18}