"use client" import * as React from "react" import { AttachmentCountCell, BooleanToggleCell, CurrencyCell, ExternalLinkCell, NumericCell, PeopleAvatarRailCell, PillCell, ProgressCell, RatingCell, RelativeTimeCell, RowActionsCell, SignalBarsCell, TagListCell, } from "@/components/data-views" import { Label } from "@/components/ui/label" import { Slider } from "@/components/ui/slider" export function ProgressCellPreview() { const [progress, setProgress] = React.useState(42) return (
setProgress(v[0] ?? 0)} max={100} step={1} />
) } export function CurrencyCellPreview() { return } export function NumericCellPreview() { return } export function RatingCellPreview() { return } export function SignalBarsCellPreview() { return } export function BooleanToggleCellPreview() { const [published, setPublished] = React.useState(true) return } export function PillCellPreview() { return } export function TagListCellPreview() { return } export function PeopleAvatarRailCellPreview() { return ( ) } export function ExternalLinkCellPreview() { return } export function RelativeTimeCellPreview() { return } export function AttachmentCountCellPreview() { return } export function RowActionsCellPreview() { return ( {} }, { label: "Edit", icon: "fa-pen", onSelect: () => {} }, ]} /> ) }