import type { Meta, StoryObj } from '@storybook/react'; import { HoverCard, HoverCardContent, HoverCardTrigger } from './hover-card'; import { Button } from '../button'; import { Avatar, AvatarFallback, AvatarImage } from '../avatar'; import { CalendarDays } from 'lucide-react'; import React from 'react'; const meta: Meta = { title: 'UI/HoverCard', component: HoverCard, render: args => , argTypes: { open: { control: 'boolean', description: 'Whether the hover card is open.', }, openDelay: { control: { type: 'number', min: 0, max: 1000, step: 100 }, description: 'The duration from when the mouse hovers over the trigger until the hover card opens.', defaultValue: 700, }, closeDelay: { control: { type: 'number', min: 0, max: 1000, step: 100 }, description: 'The duration from when the mouse leaves the trigger until the hover card closes.', defaultValue: 300, }, }, }; export default meta; type Story = StoryObj; export const Default: Story = { render: args => (
VC

@nextjs

The React Framework – created and maintained by @vercel.

{' '} Joined December 2021
), };