-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
Description
❔ Question
I am working on a project written by typescript and I would like to use ReadOnly props in SemmaticDatepicker, then I got compile error because readOnly is not defined in interface SemanticDatepickerProps. Following codes are from "react-semantic-ui-datepickers/dist/index.d.ts"
export interface SemanticDatepickerProps {
clearable?: boolean;
date?: Date;
disabled?: boolean;
error?: boolean;
firstDayOfWeek?: number;
format?: string;
icon?: SemanticICONS;
iconPosition?: 'left';
id?: string;
keepOpenOnClear?: boolean;
keepOpenOnSelect?: boolean;
label?: string;
loading?: boolean;
locale?: Locale;
maxDate?: Date;
minDate?: Date;
name?: string;
onDateChange: (newDate: Date | Date[] | null) => void;
placeholder?: string;
pointing: 'left' | 'right' | 'top left' | 'top right';
selected?: Date | Date[];
showOutsideDays?: boolean;
size?: SemanticSIZES;
transparent?: boolean;
type: 'basic' | 'range';
}