mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(date-picker): type flatpickrProps
This commit is contained in:
parent
bc0b048e30
commit
f2a445cb7e
3 changed files with 18 additions and 5 deletions
7
types/DatePicker/DatePicker.d.ts
vendored
7
types/DatePicker/DatePicker.d.ts
vendored
|
@ -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<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue