dashboard: update event and profile list
This commit is contained in:
@@ -101,7 +101,7 @@ const SheetFooter = ({
|
||||
<div
|
||||
className={cn(
|
||||
'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',
|
||||
'sticky bottom-0 left-0 right-0 mt-auto',
|
||||
'sticky bottom-0 left-0 right-0 mt-auto bg-white',
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
|
||||
@@ -27,3 +27,17 @@ const TooltipContent = React.forwardRef<
|
||||
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
||||
|
||||
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
||||
|
||||
interface TooltiperProps {
|
||||
asChild: boolean;
|
||||
content: string;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
export function Tooltiper({ asChild, content, children }: TooltiperProps) {
|
||||
return (
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild={asChild}>{children}</TooltipTrigger>
|
||||
<TooltipContent>{content}</TooltipContent>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user