@wazespace/wme-react-components
Version:
A package with useful replications of the Waze Map Editor components to use in userscripts
5 lines • 392 B
TypeScript
import { Component, ComponentProps, ComponentType, HTMLAttributes } from 'react';
type ReactEventsProps = Pick<HTMLAttributes<Element>, 'onChange' | 'onClick'>;
export declare function supportReactEvents<P extends ReactEventsProps, C extends ComponentType<P> = ComponentType<P>>(component: C): typeof Component<ComponentProps<C>>;
export {};
//# sourceMappingURL=support-react-events.d.ts.map