import { Chip } from '@heroui/chip' import { Select, SelectItem } from '@heroui/select' import { SharedSelection } from '@heroui/system' import type { Selection } from '@react-types/shared' import { LogLevel } from '@/const/enum' export interface LogLevelSelectProps { selectedKeys: Selection onSelectionChange: (keys: SharedSelection) => void } const logLevelColor: { [key in LogLevel]: | 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'primary' } = { [LogLevel.DEBUG]: 'default', [LogLevel.INFO]: 'primary', [LogLevel.WARN]: 'warning', [LogLevel.ERROR]: 'primary', [LogLevel.FATAL]: 'primary' } const LogLevelSelect = (props: LogLevelSelectProps) => { const { selectedKeys, onSelectionChange } = props return ( ) } export default LogLevelSelect