Latest updates from IceHrmPro
This commit is contained in:
17
web/node_modules/rc-field-form/lib/List.d.ts
generated
vendored
Normal file
17
web/node_modules/rc-field-form/lib/List.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import * as React from 'react';
|
||||
import { NamePath, StoreValue } from './interface';
|
||||
interface ListField {
|
||||
name: number;
|
||||
key: number;
|
||||
}
|
||||
interface ListOperations {
|
||||
add: (defaultValue?: StoreValue) => void;
|
||||
remove: (index: number) => void;
|
||||
move: (from: number, to: number) => void;
|
||||
}
|
||||
interface ListProps {
|
||||
name: NamePath;
|
||||
children?: (fields: ListField[], operations: ListOperations) => JSX.Element | React.ReactNode;
|
||||
}
|
||||
declare const List: React.FunctionComponent<ListProps>;
|
||||
export default List;
|
||||
Reference in New Issue
Block a user