UNPKG

react-any-attr

Version:

Enables you to create any HTML attribute in React spearing the headache.

7 lines (6 loc) 360 B
/// <reference types="react" /> import { AnyAttrProps } from "./module"; export declare const asObject: (anything: any) => (node: Element, property: string) => void; export declare const asString: (anything: any) => (node: Element, property: string) => void; declare const AnyAttribute: (props: AnyAttrProps) => JSX.Element; export default AnyAttribute;