UNPKG

@muvehealth/fixins

Version:

Component library for Muvehealth

42 lines (35 loc) 893 B
// @flow export type ChangesType = { isOpen: boolean, inputValue: Array<{}>, type: string, } // $FlowFixMe export type EventType = SyntheticInputEvent<any> // & SyntheticKeyboardEvent<*> export type SelectedItemType = { label: string, tag: string, value: string, } export type RenderProps = {} export type InputType = { name: string, // $FlowFixMe: match type from redux-form value: any, // $FlowFixMe: match type from redux-form onBlur: { (eventOrValue: Event | any): void }, onFocus: { (event: Event): void }, // $FlowFixMe: match type from redux-form onChange: { (eventOrValue: Event | any): void }, } type Dispatch = { } export type MetaType = { // $FlowFixMe: match type from redux-form dispatch: Dispatch<*>, // $FlowFixMe: match type from redux-form error: any, touched: boolean, // $FlowFixMe: match type from redux-form warning: any, }