@vitus-labs/elements
Version:
Most basic react reusable components
20 lines • 604 B
TypeScript
import { type ReactNode } from 'react';
import type { VLComponent } from "../types";
export interface Props {
/**
* Defines a HTML DOM where children to be appended. Component uses JavaScript
* [`Node.appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)
*/
DOMLocation?: HTMLElement;
/**
* Children to be rendered within **Portal** component.
*/
children: ReactNode;
/**
* Valid HTML Tag
*/
tag?: string;
}
declare const Component: VLComponent<Props>;
export default Component;
//# sourceMappingURL=component.d.ts.map