import type { FormEvent } from 'react' import { Search } from 'lucide-react' import { ROLE_OPTIONS, roleLabel, STATUS_OPTIONS } from '../../../../constants/user' import type { Role, Status } from '../../../../interfaces/user/model' import styles from './index.module.scss' interface DirectoryToolbarProps { keyword: string roleFilter: Role | '' statusFilter: Status | '' hasFilters: boolean onKeywordChange: (value: string) => void onSearch: (event: FormEvent) => void onRoleChange: (value: Role | '') => void onStatusChange: (value: Status | '') => void onClear: () => void } export default function DirectoryToolbar(props: DirectoryToolbarProps) { return ( <>
{STATUS_OPTIONS.map((option) => ( ))}
) }