Convert rendering to jsx
This commit is contained in:
parent
0f72d048ee
commit
d1b632e83c
25 changed files with 422 additions and 513 deletions
8
src/render/html/component/base/html.tsx
Normal file
8
src/render/html/component/base/html.tsx
Normal file
|
@ -0,0 +1,8 @@
|
|||
interface HTMLWrapperProps {
|
||||
html: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function HTML({ html, className }: HTMLWrapperProps) {
|
||||
return <div className={className} dangerouslySetInnerHTML={{ __html: html }} />;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue