goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
36 lines • 957 B
TypeScript
import { default as React } from 'react';
export interface DateRange {
start: Date | null;
end: Date | null;
}
export interface DateRangeProps {
startLabel?: string;
endLabel?: string;
value?: DateRange;
onChange?: (dateRange: DateRange) => void;
disableFutureDateValidation?: boolean;
placeholder?: string;
disabled?: boolean;
required?: boolean;
error?: string;
style?: React.CSSProperties;
styles?: {
disabled?: boolean;
required?: boolean;
theme?: string;
helperTextType?: string;
height?: string;
fontSize?: string;
borderRadius?: string;
marginBottom?: string;
marginTop?: string;
width?: string;
minHeight?: string;
padding?: string;
gap?: string;
};
helperText?: string;
}
declare const DateRange: React.FC<DateRangeProps>;
export default DateRange;
//# sourceMappingURL=index.d.ts.map