UNPKG

@aliretail/react-materials-components

Version:
40 lines (39 loc) 1.11 kB
import * as React from 'react'; import * as PropTypes from 'prop-types'; interface TProps { children: any; cols: number | 'full'; columnGap: number; rowGap: number; style: any; gridItemStyle: any; type: 'dialog' | ''; align: 'center' | 'left'; } interface TState { cols: number; } declare class AliRetailForm extends React.Component<TProps, TState> { static propTypes: { children: PropTypes.Requireable<PropTypes.ReactElementLike[]>; cols: PropTypes.Requireable<string | number>; columnGap: PropTypes.Requireable<number>; rowGap: PropTypes.Requireable<number>; style: PropTypes.Requireable<object>; gridItemStyle: PropTypes.Requireable<object>; type: PropTypes.Requireable<string>; align: PropTypes.Requireable<string>; }; static defaultProps: { children: any[]; cols: number; style: {}; gridItemStyle: {}; type: string; align: string; }; state: TState; constructor(props: any); render(): JSX.Element; } export default AliRetailForm;