mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
add filters types to src/components/fiedls
This commit is contained in:
@@ -21,6 +21,7 @@ export interface IFieldConfig {
|
||||
TableEditor: React.ComponentType<EditorProps<any, any>>;
|
||||
SideDrawerField: React.ComponentType<ISideDrawerFieldProps>;
|
||||
settings?: React.ComponentType<ISettingsProps>;
|
||||
filters?: React.ComponentType<IFiltersProps>;
|
||||
csvExportFormatter?: (value: any, config?: any) => string;
|
||||
csvImportParser?: (value: string, config?: any) => any;
|
||||
}
|
||||
@@ -59,3 +60,9 @@ export interface ISettingsProps {
|
||||
tables: any;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
// TODO: WRITE TYPES
|
||||
export interface IFiltersProps {
|
||||
handleChange: (key: string) => (value: any) => void;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user