mirror of
https://github.com/nix-community/noogle.git
synced 2024-11-26 10:24:25 +03:00
basicList: declare selected prop
This commit is contained in:
parent
c46c532209
commit
1905030481
@ -27,12 +27,13 @@ export type BasicListItem = {
|
||||
export type BasicListProps = BasicDataViewProps & {
|
||||
handleFilter: (t: NixType, mode: "from" | "to") => void;
|
||||
preview: React.ReactNode;
|
||||
selected?: string;
|
||||
};
|
||||
|
||||
interface SelectOptionProps {
|
||||
label: string;
|
||||
handleChange: (value: string) => void;
|
||||
selected?: string;
|
||||
|
||||
options: {
|
||||
value: string;
|
||||
label: string;
|
||||
|
Loading…
Reference in New Issue
Block a user