@ccs-design/rc-pro-component
Version:
ccs design basic react component
13 lines (12 loc) • 607 B
TypeScript
import { FormInstance } from 'antd/lib/form';
import { CcsProEventType, CcsProLayoutPropsType } from './types';
interface PropsType<T> extends Pick<CcsProLayoutPropsType<T>, 'toolbar' | 'formItems' | 'formInitValues' | 'isSimple'> {
columns?: any;
form: FormInstance<any>;
onReset: () => void;
onSearch: () => void;
event$: CcsProEventType;
}
/** 操作按钮、查询,重置、列筛选、 */
declare function ToolbarComponent<T>({ form, toolbar, columns, isSimple, formItems, formInitValues, event$, onReset, onSearch, }: PropsType<T>): JSX.Element;
export default ToolbarComponent;