Skip to content

Commit

Permalink
refactor(form): update typing in TagsArrayInput
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanwikner committed Oct 26, 2022
1 parent c6cf601 commit 9c3c46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity/src/core/form/inputs/TagsArrayInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {set, unset} from '../patch'
import {TagInput} from '../components/tagInput'
import {ArrayOfPrimitivesInputProps} from '../types'

export type TagsArrayInputProps = ArrayOfPrimitivesInputProps<string[]>
export type TagsArrayInputProps = ArrayOfPrimitivesInputProps<string>

export function TagsArrayInput(props: TagsArrayInputProps) {
const {onChange, readOnly, value = [], elementProps} = props
Expand Down

0 comments on commit 9c3c46a

Please sign in to comment.