Skip to content

Commit

Permalink
chore: make autocomplete options readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
magnh committed Jun 5, 2024
1 parent a0eb80f commit a046663
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export type AutocompleteChanges<T> = { selectedItems: T[] }

export type AutocompleteProps<T> = {
/** List of options in dropdown */
options: T[]
options: readonly T[]
/** Label for the select element */
label: ReactNode
/** Array of initial selected items
Expand Down

0 comments on commit a046663

Please sign in to comment.