feat: navbar
This commit is contained in:
parent
f856876713
commit
c2baea19d1
8 changed files with 26 additions and 24 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import Image from "next/image"
|
||||
|
||||
type ImageOwnProps<T extends React.ElementType> = {
|
||||
className: string
|
||||
image: string
|
||||
|
|
@ -7,7 +9,6 @@ type ImageOwnProps<T extends React.ElementType> = {
|
|||
}
|
||||
|
||||
type ImageProps<T extends React.ElementType> = ImageOwnProps<T> & Omit<React.ComponentProps<T>, keyof ImageOwnProps<T>>
|
||||
import Image from "next/image"
|
||||
|
||||
export const ImageCard = <T extends React.ElementType = "div">({
|
||||
className,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue