mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
HTMLContent
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import cn from 'classnames'
|
||||
import s from './PageContent.module.css'
|
||||
import s from './HTMLContent.module.css'
|
||||
|
||||
type Props = {
|
||||
className?: 'string'
|
||||
html: string
|
||||
}
|
||||
|
||||
export default function PageContent({ className, html }: Props) {
|
||||
export default function HTMLContent({ className, html }: Props) {
|
||||
return (
|
||||
<div
|
||||
className={cn(s.root, className)}
|
1
components/core/HTMLContent/index.ts
Normal file
1
components/core/HTMLContent/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default } from './HTMLContent'
|
@@ -7,3 +7,4 @@ export { default as Searchbar } from './Searchbar'
|
||||
export { default as UserNav } from './UserNav'
|
||||
export { default as Toggle } from './Toggle'
|
||||
export { default as Head } from './Head'
|
||||
export { default as HTMLContent } from './HTMLContent'
|
||||
|
@@ -1 +0,0 @@
|
||||
export { default } from './PageContent'
|
Reference in New Issue
Block a user