@maximeij/react-csstick
Version:
CSS Stick figures and comics
8 lines (7 loc) • 346 B
TypeScript
import { ComponentType, SyntheticEvent } from 'react';
import { CommonProps } from '../util/types';
export declare function chainClickable<T extends CommonProps>(Component: ComponentType<T>): {
(props: T): JSX.Element;
displayName: string;
};
export declare function chainCall(fn: (id?: string) => void): (event: SyntheticEvent) => void;