Skip to content

Commit

Permalink
Added changeset and a type to FilteredOptionsItem props
Browse files Browse the repository at this point in the history
  • Loading branch information
it-vegard committed Aug 7, 2024
1 parent 48f459e commit 499895f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wise-carrots-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@navikt/ds-react": patch
---

Refactored Combobox FilteredOptions
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ComboboxOption } from "../types";
import filteredOptionsUtil from "./filtered-options-util";
import { useFilteredOptionsContext } from "./filteredOptionsContext";

const FilteredOptionsItem = ({ option }) => {
const FilteredOptionsItem = ({ option }: { option: ComboboxOption }) => {
const {
inputProps: { id },
size,
Expand Down

0 comments on commit 499895f

Please sign in to comment.