antd-mobile
Version:
基于 React 的移动设计规范实现
53 lines (52 loc) • 1.51 kB
TypeScript
/// <reference types="react" />
import React from 'react';
import tsPropsType from './PropsType';
export default class Picker extends React.Component<tsPropsType, any> {
static defaultProps: {
triggerType: string;
prefixCls: string;
pickerPrefixCls: string;
popupPrefixCls: string;
format: (values: any) => any;
cols: number;
cascade: boolean;
extra: string;
okText: string;
dismissText: string;
title: string;
styles: {
modal: {
flex: number;
flexDirection: string;
justifyContent: string;
};
header: {
flexGrow: number;
height: number;
alignItems: string;
flexDirection: string;
justifyContent: string;
borderBottomWidth: number;
borderBottomColor: string;
};
headerItem: {
height: number;
flex: number;
alignItems: string;
justifyContent: string;
};
actionText: {
color: string;
fontSize: number;
textAlign: string;
};
title: {
color: string;
fontSize: number;
textAlign: string;
};
};
};
getSel: () => void | undefined;
render(): JSX.Element;
}