mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
🔧 config: src folders structure
:%s
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/* style demo here */
|
||||
|
||||
.homeBanner {
|
||||
color: green;
|
||||
}
|
15
src/components/modules/home/HomeBanner/HomeBanner.tsx
Normal file
15
src/components/modules/home/HomeBanner/HomeBanner.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { FC } from 'react'
|
||||
import s from './HomeBanner.module.css'
|
||||
|
||||
interface Props {
|
||||
className?: string
|
||||
children?: any
|
||||
}
|
||||
|
||||
const HomeBanner: FC<Props> = ({ }) => {
|
||||
return (
|
||||
<div className={s.homeBanner}>This is HomeBanner</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default HomeBanner
|
1
src/components/modules/home/index.ts
Normal file
1
src/components/modules/home/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default as HomeBanner } from './HomeBanner/HomeBanner'
|
Reference in New Issue
Block a user