@geekcojp/react-input-flatpickr
v0.1.1
Published
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![CircleCI](https://circleci.com/gh/geekcojp/react-input-flatpickr/tree/master.svg?style=svg&circle-token=51a03
Downloads
103
Keywords
Readme
react-input-flatpickr
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>;
}