main page

This commit is contained in:
JUSN committed 2025-12-17 17:55:13 +01:00
commit 7fb446c53a
8943 files changed
+1209030

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
const STATUSES = [
'Open',
'Occupied',
'Assigned',
'Awaiting',
'Added Info',
'In Test',
'Halted',
'Aborted',
'Cancelled',
'Closed'
]
export default function StatusDropdown({ value, onChange }) {
return (
<div className="dropdown">
<button className="btn" style={{ background: 'inherit', color: 'inherit' }}>
{value?.toUpperCase() || 'OPEN'}
</button>
<div className="dropdown-content">
{STATUSES.map(status => (
<span
key={status}
className="dropdown-item"
onClick={() => onChange(status)}
>
{status}
</span>
))}
</div>
</div>
)
}