File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
app/invite-list/src/components Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const InviteDetailModal = ({ onClose }: InviteDetailModalProps) => {
2323
2424 return (
2525 < div className = "fixed inset-0 z-50 bg-gradient-to-b from-white-default to-[#DCC8F8]" >
26- < Header >
26+ < Header className = "bg-transparent" >
2727 < Header . Left />
2828 < Header . Right >
2929 < Header . Button onClick = { onClose } >
Original file line number Diff line number Diff line change 1- import { ButtonHTMLAttributes , HTMLAttributes , PropsWithChildren } from 'react' ;
1+ import { ButtonHTMLAttributes , HTMLAttributes } from 'react' ;
22
33import { cn } from '@/shared/lib' ;
44
5- export const Header = ( { children } : PropsWithChildren ) => {
5+ export const Header = ( { children, className } : HTMLAttributes < HTMLHeadElement > ) => {
66 return (
7- < header className = "sticky top-0 z-20 flex h-16 items-center justify-between bg-white-default px-5 py-4" >
7+ < header
8+ className = { cn (
9+ 'sticky top-0 z-20 flex h-16 items-center justify-between bg-white-default px-5 py-4' ,
10+ className
11+ ) }
12+ >
813 { children }
914 </ header >
1015 ) ;
You can’t perform that action at this time.
0 commit comments