mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
🔧 config: using sass
:%s
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
import { FC, useRef, useEffect } from 'react'
|
||||
import s from './Header.module.css'
|
||||
import { FC } from 'react'
|
||||
import s from './Header.module.scss'
|
||||
|
||||
interface Props {
|
||||
className?: string
|
||||
children?: any
|
||||
}
|
||||
|
||||
const Header: FC<Props> = ({ }) => {
|
||||
const Header: FC<Props> = ({ }:Props ) => {
|
||||
return (
|
||||
<div className={s.header}>This is Header</div>
|
||||
<div className={s.header}>
|
||||
This is Header
|
||||
<button className={s.btnBlue}>
|
||||
Button
|
||||
</button>
|
||||
<div className={s.link}>
|
||||
Test link style
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user