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 912c2e8 commit b289b30Copy full SHA for b289b30
packages/@headlessui-react/src/utils/render.ts
@@ -107,7 +107,7 @@ function _render<TTag extends ElementType, TSlot>(
107
'static',
108
])
109
110
- // This allows us to use `<HeadlessUIComponent as={MyComopnent} refName="innerRef" />`
+ // This allows us to use `<HeadlessUIComponent as={MyComponent} refName="innerRef" />`
111
let refRelatedProps = props.ref !== undefined ? { [refName]: props.ref } : {}
112
113
let resolvedChildren = (typeof children === 'function' ? children(slot) : children) as
0 commit comments