UNPKG

@etsoo/website

Version:

ETSOO CMS Based NextJs Website Framework

16 lines (15 loc) 406 B
import { HtmlHTMLAttributes } from 'react'; import { ElementType } from 'react'; /** * HTML content props */ export type HtmlContentProps<T extends HTMLElement = HTMLDivElement> = HtmlHTMLAttributes<T> & { component?: ElementType; innerHTML: string; }; /** * HTML content * @param props Props * @returns Component */ export declare function HtmlContent(props: HtmlContentProps): JSX.Element;