@ -8,26 +8,26 @@ type Props = {
className?: string
}
const PromptToast = ({
// message,
message,
className,
}: Props) => {
const [isHide, {
setTrue: hide,
}] = useBoolean(false)
const message = `
// const message = `
# h1
// # h1
**strong text** ~~strikethrough~~
// **strong text** ~~strikethrough~~
* list1
// * list1
* list2
// * list2
xxxx
// xxxx
## h2
// ## h2
\`\`\`python
// \`\`\`python
print('Hello, World!')
// print('Hello, World!')
\`\`\`
// \`\`\`
`
// `
if (isHide)
return
return (