feat: init project SelfChckout
This commit is contained in:
parent
765cc0c7cf
commit
9d31ea245c
62 changed files with 8869 additions and 7149 deletions
18
package/components/atoms/Title.tsx
Normal file
18
package/components/atoms/Title.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
"use client"
|
||||
import { Typography } from "@mui/material"
|
||||
import React from "react"
|
||||
|
||||
interface TitleProps {
|
||||
text: string
|
||||
size?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"
|
||||
}
|
||||
|
||||
const Title: React.FC<TitleProps> = ({ text, size = "h1" }) => {
|
||||
return (
|
||||
<Typography variant={size} className="font-bold">
|
||||
{text}
|
||||
</Typography>
|
||||
)
|
||||
}
|
||||
|
||||
export default Title
|
||||
Loading…
Add table
Add a link
Reference in a new issue