'use client'; import { Button } from '@/components/ui/button'; import { Separator } from '@/components/ui/separator'; import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'; import { cn } from '@/lib/utils'; import { BookmarkIcon, type LucideProps } from 'lucide-react'; import type { ComponentProps, HTMLAttributes } from 'react'; export type CheckpointProps = HTMLAttributes; export const Checkpoint = ({ className, children, ...props }: CheckpointProps) => (
{children}
); export type CheckpointIconProps = LucideProps; export const CheckpointIcon = ({ className, children, ...props }: CheckpointIconProps) => children ?? ; export type CheckpointTriggerProps = ComponentProps & { tooltip?: string; }; export const CheckpointTrigger = ({ children, variant = 'ghost', size = 'sm', tooltip, ...props }: CheckpointTriggerProps) => tooltip ? ( {tooltip} ) : ( );