"use client" import * as React from "react" import { InlineInputEdit, InlineSelectEdit, } from "@exxatdesignux/ui/components/ui/inline-edit" import { InlineInputCell, InlineSelectCell, } from "@exxatdesignux/ui/components/data-views/table-cells" import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table" const STATUS_OPTIONS = [ { value: "draft", label: "Draft" }, { value: "review", label: "In review" }, { value: "published", label: "Published" }, ] as const export function InlineEditPreview() { const [title, setTitle] = React.useState("Cardiopulmonary assessment") const [status, setStatus] = React.useState("review") return (
Enter saves a text draft. Escape cancels. Select changes require Save.