antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
14 lines (13 loc) • 596 B
TypeScript
import React, { FC } from 'react';
import { ITouchEvent } from '@tarojs/components';
import { NativeProps } from 'antd-mobile/es/utils/native-props';
export declare type SpaceProps = {
direction?: 'horizontal' | 'vertical';
align?: 'start' | 'end' | 'center' | 'baseline';
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly' | 'stretch';
wrap?: boolean;
block?: boolean;
onClick?: (event: ITouchEvent) => void;
children?: React.ReactNode;
} & NativeProps<'--gap' | '--gap-vertical' | '--gap-horizontal'>;
export declare const Space: FC<SpaceProps>;