pyro-form
Version:
Pyro-Form is a fast and simple form manager for react that helps you with managing your components data in a form.
10 lines (9 loc) • 381 B
TypeScript
import React from 'react';
export declare const getValueFromEvent: (event: React.SyntheticEvent<{
value: string;
}, Event>) => string;
export declare const isEvent: (event: any) => event is React.SyntheticEvent<{
value: string;
}, Event>;
export declare const isPromise: (value: any) => boolean;
export declare const isFunction: (value: any) => value is Function;