fx-schema-form-extension
Version:
20 lines (19 loc) • 898 B
TypeScript
import { DefaultProps } from "fx-schema-form-react/libs/components";
import { UtilsHocOutProps } from "fx-schema-form-react/libs/hocs/utils";
import { ValidateHocOutProps } from "fx-schema-form-react/libs/hocs/validate";
import { BaseFactory } from "fx-schema-form-core";
import { ConditionHocOutProps, ConditionHocSettings } from "./condition";
export interface Props extends DefaultProps, UtilsHocOutProps, ValidateHocOutProps, ConditionHocOutProps {
}
export declare const name = "changed";
export interface ChangedSettings {
paths?: string[];
onChanged?: (props: DefaultProps, data: any) => void;
condition?: ConditionHocSettings;
}
export declare const hoc: (hocFactory: BaseFactory<any>) => (settings?: ChangedSettings) => any;
declare const _default: {
name: string;
hoc: (hocFactory: BaseFactory<any>) => (settings?: ChangedSettings) => any;
};
export default _default;