@aliretail/react-materials-components
Version:
47 lines (46 loc) • 1.4 kB
TypeScript
import * as React from 'react';
import * as PropTypes from 'prop-types';
interface Selects {
label: string;
value: number;
}
export interface TCommodityInnerFormProps {
appCode?: string;
apiCode?: string;
url?: string;
title?: string;
width?: string;
value?: any;
selectEls?: Selects[];
propertyName?: string;
propertySelect?: string;
topMessage?: string;
showDeliveryStatus?: boolean;
primaryKey: string;
selectDefaultValue?: number;
inputDefaultValue?: string;
placeholder?: string;
isPreview?: boolean;
disabled?: boolean;
hidden?: boolean;
tablePageSizeList: number[];
isCheckAllDisabled: boolean;
onChange: (value: any) => void;
}
export declare class InnerForm extends React.Component<TCommodityInnerFormProps> {
static propTypes: {
appCode: PropTypes.Requireable<string>;
apiCode: PropTypes.Requireable<string>;
params: PropTypes.Requireable<object>;
propertyName: PropTypes.Requireable<string>;
title: PropTypes.Requireable<string>;
width: PropTypes.Requireable<string>;
propertySelect: PropTypes.Requireable<string>;
};
constructor(props: any);
onChange: (value: any) => void;
handleRequestParams: (filterData: any) => void;
handleSelected: (valueList: any, keyList: any) => void;
render(): JSX.Element;
}
export {};