UNPKG

@mijadesign/mjui-react-taro

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

14 lines (13 loc) 539 B
import React, { FunctionComponent } from 'react'; import type { 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'>>;