UNPKG

drf-react-by-schema

Version:

Components and Tools for building a React App having Django Rest Framework (DRF) as server

21 lines 911 B
import React, { MutableRefObject, RefObject } from 'react'; import { Id } from '../../@types'; type FilterValue = [string | undefined, string | undefined] | string; type GridFilterItem = { columnField: string; id: Id; operatorValue: string; value: FilterValue; }; type InputIntervalProps = { applyValue: (params: GridFilterItem) => void; focusElementRef?: null | ((instance: HTMLInputElement | null) => void) | RefObject<HTMLInputElement> | MutableRefObject<HTMLInputElement>; item: GridFilterItem; type: string; }; type WrapperProps = Omit<InputIntervalProps, 'type'>; export declare const InputNumberInterval: (props: WrapperProps) => React.JSX.Element; export declare const InputDateInterval: (props: WrapperProps) => React.JSX.Element; export declare const InputFloatInterval: (props: WrapperProps) => React.JSX.Element; export {}; //# sourceMappingURL=InputInterval.d.ts.map