Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

612 B
Raw Blame
import { EyeIcon } from 'lucide-react';
import { PreviewToolbar } from 'verification:component';

import { ToolbarActionButton } from '@/features/Portal/LocalFile/PreviewToolbar';

export const Fixture = ({ variant }: { variant: string }) => (
  <PreviewToolbar
    path="/workspace/components/example.tsx"
    rootPath="/workspace"
    actions={
      variant === 'no-actions' ? undefined : variant === 'hidden-actions' ? (
        []
      ) : (
        <ToolbarActionButton
          active={variant === 'dark-actions'}
          icon={EyeIcon}
          label="Preview file"
        />
      )
    }
  />
);