import React from 'react'; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "../ui/table"; import { Input } from "../ui/input"; import { Button } from "../ui/button"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "../ui/select"; import { Plus } from "lucide-react"; export function MultipleOptionsView() { const options = [ { id: 1, name: 'Prepped By', contents: 'A. Smith; B. Doe; C. Borne', lastEdited: '2025.12.03.11:45', }, { id: 2, name: 'Checked By', contents: 'D. Manager; E. Supervisor', lastEdited: '2025.12.04.09:30', }, { id: 3, name: 'Allergens', contents: 'Peanuts; Dairy; Gluten; Soy', lastEdited: '2025.12.05.14:15', }, ]; return (
{/* Controls: Search, Location, New Multiple Options — 单行 + 圆角 + 细边框 + 统一高度 40px,黄色按钮无边框、靠右 */}
{/* Table */}
Multiple Option Name Contents Last Edited {options.map((item) => ( {item.name} {item.contents} {item.lastEdited} ))}
); }