mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-05-01 22:11:16 +08:00
[ui][typeahead] allow typeahead to be cleared
This commit is contained in:
@@ -8,7 +8,7 @@ type Props = Readonly<{
|
||||
disabled?: boolean;
|
||||
errorMessage?: string;
|
||||
isLabelHidden?: boolean;
|
||||
onSelect: (option: TypeaheadOption) => void;
|
||||
onSelect: (option: TypeaheadOption | null) => void;
|
||||
placeHolder?: string;
|
||||
required?: boolean;
|
||||
}>;
|
||||
|
||||
@@ -7,7 +7,7 @@ import { JobTitleLabels } from './JobTitles';
|
||||
type Props = Readonly<{
|
||||
disabled?: boolean;
|
||||
isLabelHidden?: boolean;
|
||||
onSelect: (option: TypeaheadOption) => void;
|
||||
onSelect: (option: TypeaheadOption | null) => void;
|
||||
placeHolder?: string;
|
||||
required?: boolean;
|
||||
}>;
|
||||
|
||||
Reference in New Issue
Block a user