Skip to content

Commit

Permalink
correct prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
audisaudisaudis committed Oct 11, 2024
1 parent 08ac5a9 commit 86a1e4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ ComboboxExternalItems.propTypes = {
fontSize: PropTypes.string,
fontWeight: PropTypes.string,
items: PropTypes.arrayOf(
PropTypes.string |
PropTypes.oneOfType([
PropTypes.string,
PropTypes.shape({
label: PropTypes.string,
value: PropTypes.string,
})
}),
])
),
itemsLeadingText: PropTypes.string.isRequired,
noItemsText: PropTypes.string.isRequired,
Expand Down
2 changes: 1 addition & 1 deletion src/packages/arbeidsplassen-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@navikt/arbeidsplassen-react",
"version": "8.3.4",
"version": "8.3.5",
"main": "dist/index.js",
"module": "dist/index.js",
"private": false,
Expand Down

0 comments on commit 86a1e4d

Please sign in to comment.