UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

40 lines (39 loc) 1.07 kB
import * as React from 'react'; export declare type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs'; export declare type BreakpointMap = { xs?: string; sm?: string; md?: string; lg?: string; xl?: string; xxl?: string; }; export interface RowProps extends React.HTMLAttributes<HTMLDivElement> { gutter?: number | BreakpointMap; type?: 'flex'; align?: 'top' | 'middle' | 'bottom'; justify?: 'start' | 'end' | 'center' | 'space-around' | 'space-between'; prefixCls?: string; } export interface RowState { screens: BreakpointMap; } export default class Row extends React.Component<RowProps, RowState> { static defaultProps: { gutter: number; }; static propTypes: { type: any; align: any; justify: any; className: any; children: any; gutter: any; prefixCls: any; }; state: RowState; componentDidMount(): void; componentWillUnmount(): void; getGutter(): string | number | BreakpointMap | undefined; render(): JSX.Element; }