Block Editor
Preview
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{
Wysiwyg
}
from
"@/components/ui/wysiwyg"
import
type
{
WysiwygType
}
from
"@/types"
interface
Props
{
text
:
WysiwygType
}
export
default
function
Content
(
{
text
}
:
Props
)
{
return
(
<
div className
=
"mx-auto max-w-xl py-8 md:py-16 container"
>
<
Wysiwyg
content
=
{
text
}
/>
</
div
>
)
}
Problems
No issues found