@geekcojp/react-input-flatpickr
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

react-input-flatpickr

code style: prettier CircleCI

Usage

yarn add @geekcojp/react-input-flatpickr

Props

export interface InputFlatpickrProps extends flatpickr.Options.Options {
  theme?:
    | 'dark'
    | 'material_blue'
    | 'material_green'
    | 'material_orange'
    | 'material_red'
    | 'airbnb'
    | 'confetti';
  value?: string;
  placeholder?: string;
  inputName?: string;
  inputReadonly?: boolean;
  disabled?: boolean;
  handleInputBlur?(data: {
    input: HTMLInputElement;
    value: string;
  }): void | Promise<void>;
  handleInputChange?(data: {
    input: HTMLInputElement;
    value: string;
  }): void | Promise<void>;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @geekcojp/react-input-flatpickr

Weekly Downloads

16

Version

0.1.1

License

MIT

Unpacked Size

13.5 kB

Total Files

10

Last publish

Collaborators

  • wwk563388548
  • randy39
  • skawadu
  • geek_hfukasaka
  • nju33
  • yamanoku