IMPROVE general styling + ADD logo
This commit is contained in:
16
frontend/src/components/Box.tsx
Normal file
16
frontend/src/components/Box.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import clsx from "clsx";
|
||||
|
||||
type props = {
|
||||
children: React.ReactNode,
|
||||
className?: string
|
||||
}
|
||||
|
||||
const Box = ({children, className}: props) => {
|
||||
return (
|
||||
<div className={clsx("bg-gray-200 shadow-lg rounded-lg", className)}>
|
||||
{ children }
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Box;
|
||||
Reference in New Issue
Block a user