@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
13 lines (12 loc) • 521 B
TypeScript
import { default as React, FunctionComponent, MouseEvent } from 'react';
import { BasicComponent } from '../../utils/typings';
export type RowEventType = 'row' | 'col';
export interface RowProps extends BasicComponent {
type: string;
justify: string;
align: string;
wrap: string;
gutter: string | number;
onClick: (e: MouseEvent<HTMLDivElement>, type: RowEventType) => void;
}
export declare const Row: FunctionComponent<Partial<RowProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;