antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
16 lines (15 loc) • 618 B
TypeScript
import React, { FC } from 'react';
import { NativeProps } from 'antd-mobile/es/utils/native-props';
import { ITouchEvent } from '@tarojs/components';
export declare type GridProps = {
columns: number;
gap?: number | string | [number | string, number | string];
children?: React.ReactNode;
} & NativeProps<'--gap' | '--gap-vertical' | '--gap-horizontal'>;
export declare const Grid: FC<GridProps>;
export declare type GridItemProps = {
span?: number | string;
onClick?: (event: ITouchEvent) => void;
children?: React.ReactNode;
} & NativeProps;
export declare const GridItem: FC<GridItemProps>;