feat(date-picker): type flatpickrProps

This commit is contained in:
metonym 2021-09-07 08:39:46 -07:00
commit f2a445cb7e
3 changed files with 18 additions and 5 deletions

View file

@ -72,10 +72,11 @@ export interface DatePickerProps
id?: string;
/**
* Set to true for correct using in Modal
* @default false
* Override the options passed to the Flatpickr instance
* https://flatpickr.js.org/options
* @default {}
*/
staticProp?: boolean;
flatpickrProps?: import("flatpickr/dist/types/options").Options;
}
export default class DatePicker extends SvelteComponentTyped<