We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a3821 commit dd9c58dCopy full SHA for dd9c58d
packages/@react-aria/textfield/docs/useTextField.mdx
@@ -69,7 +69,7 @@ input via the `aria-describedby` attribute.
69
`useTextField` returns props that you should spread onto the appropriate element:
70
71
<TypeContext.Provider value={docs.links}>
72
- <InterfaceType properties={docs.links[docs.exports.useTextField.return.base.id].properties} />
+ <InterfaceType properties={docs.links[docs.exports.useTextField.return.base?.id ?? docs.exports.useTextField.return.id].properties} />
73
</TypeContext.Provider>
74
75
If there is no visual label, an `aria-label` or `aria-labelledby` prop must be passed instead
0 commit comments