UNPKG

carbon-custom-elements

Version:

A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.

27 lines (25 loc) 746 B
/** * @license * * Copyright IBM Corp. 2019 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { Plugin } from 'flatpickr/dist/types/options'; /** * The configuration for the Flatpickr plugin to put the calendar dropdown in shadow DOM. */ export interface DatePickerAppendToPluginConfig { /** * The floating menu container. */ appendTo: HTMLElement; } declare const _default: (config: DatePickerAppendToPluginConfig) => Plugin<{}>; /** * @param config Plugin configuration. * @returns A Flatpickr plugin to put the calendar dropdown in shadow DOM. */ export default _default; //# sourceMappingURL=append-to-plugin.d.ts.map