UNPKG

@aliretail/react-materials-components

Version:
31 lines (30 loc) 979 B
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { TCommodityInnerFormProps } from '../InnerForm/index'; declare type AppProps = TCommodityInnerFormProps & { /** 弹窗标题 */ title: string; /** 弹框宽度 */ width?: number; /** 弹窗 children */ children?: any; /** 选择数据, 选择item后的确认操作 */ onSubmit: (value: any, valuePrimaryKeyList: any) => void; }; export declare class CommoditySelector extends React.Component<AppProps> { static InnerForm: any; static propTypes: { title: PropTypes.Requireable<string>; width: PropTypes.Requireable<number>; }; static defaultProps: { title: string; width: number; }; constructor(props: any); handleChange: (data: any, btnId: any) => void; handleRequestParams: (filterData: any) => void; handleSelected: (valueList: any, keyList: any) => void; render(): JSX.Element; } export {};