rvx
Version:
A signal based rendering library
19 lines • 676 B
TypeScript
import { Attributes } from "./element-common.js";
/**
* Utility for modifying an existing element or {@link ElementBuilder element builder} returned from a component.
*
* + Event listeners and the _ref_ attribute are additive.
* + Unique styles, classes, attributes and properties and additive.
* + **Styles, classes, attributes and properties that are already set by the component may cause conflicts.**
*
* @example
* ```tsx
* <Overwrite class="some-class">
* <SomeComponent />
* </Overwrite>
* ```
*/
export declare function Overwrite<E extends Element>(props: {
children: unknown;
} & Attributes<E>): unknown;
//# sourceMappingURL=overwrite-jsx.d.ts.map