UNPKG

@equinor/fusion-react-utils

Version:
7 lines 400 B
/** * Utility to remove empty attributes from properties, JSX does not comply with the W3 standard * [W3](https://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#boolean) */ export declare const elementAttributes: <T extends Partial<Record<keyof T, unknown>> = Record<string, unknown>>(props: Partial<T>) => T; export default elementAttributes; //# sourceMappingURL=element-attributes.d.ts.map