mobx-react-form
Version:
Reactive MobX Form State Management
25 lines (21 loc) • 516 B
text/typescript
import Bindings from "../Bindings";
import { FieldPropsEnum, FieldPropsType } from "./FieldProps";
export interface BindingsInterface {
templates: {
[index: string]: {
[key: string]: ({ field, props, keys }: any) => any;
};
};
rewriters: {
[index: string]: {
[key: string]: FieldPropsEnum;
};
};
load: (
field: any,
name: string,
props: FieldPropsType
) => FieldPropsType;
register: (bindings: FieldPropsType) => Bindings;
}
export default BindingsInterface;