Skip to content

Commit

Permalink
docs: update type annotation for getInputProps in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
airjp73 committed Jan 16, 2022
1 parent dbffbeb commit 0a3e04d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/docs/app/routes/reference/use-field.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ The validation error message if there is one.

<PropHeader
prop="getInputProps"
type={
'(props?: JSX.IntrinsicElements["input"]) => JSX.IntrinsicElements["input"]'
}
type={`<T extends {}>(props?: T) => T`}
/>

A prop-getter used to get the props for the input.
Expand Down

0 comments on commit 0a3e04d

Please sign in to comment.