@carbon/react
Version:
React components for the Carbon Design System
19 lines (18 loc) • 582 B
TypeScript
/**
* Copyright IBM Corp. 2016, 2026
*
* 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 type { Plugin } from 'flatpickr/dist/types/options';
interface FixEventsPluginConfig {
inputFrom: HTMLInputElement;
inputTo?: HTMLInputElement | null;
lastStartValue: {
current: string;
};
container?: HTMLElement | null;
}
type FixEventsPlugin = (config: FixEventsPluginConfig) => Plugin;
declare const fixEventsPlugin: FixEventsPlugin;
export default fixEventsPlugin;