/** * @license * * Copyright IBM Corp. 2019, 2020 * * 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 { Component } from 'react'; interface ComponentProps { /** * The date format to let Flatpickr use. */ dateFormat?: string; /** * The localization data. */ locale?: string; /** * The date range that a user can pick in calendar dropdown. */ enabledRange?: string; /** * `true` if the date picker should be open. */ open?: boolean; /** * The date(s) in ISO8601 format (date portion only), for range mode, '/' is used for separate start/end dates. */ value?: string; } /** * Date picker. * @element bx-date-picker * @fires bx-date-picker-changed - The custom event fired on this element when Flatpickr updates its value. */ declare class BXDatePicker extends Component {} export default BXDatePicker;