clear code
This commit is contained in:
parent
e211a5b179
commit
bc9c77f79a
@ -1,9 +0,0 @@
|
|||||||
import { TemplateProps } from '@/types/template'
|
|
||||||
|
|
||||||
export function WechatTemplate({ content, className }: TemplateProps) {
|
|
||||||
return (
|
|
||||||
<div className={`wechat-template ${className || ''}`}>
|
|
||||||
<div dangerouslySetInnerHTML={{ __html: content }} />
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
import { TemplateProps } from '@/types/template'
|
|
||||||
|
|
||||||
export function XiaohongshuTemplate({ content, className }: TemplateProps) {
|
|
||||||
return (
|
|
||||||
<div className={`xiaohongshu-template ${className || ''}`}>
|
|
||||||
<div dangerouslySetInnerHTML={{ __html: content }} />
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user