You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is written as a functional component so ref support needs to be explicitly added using forwardRef
I would expect the structure to be like this:
constTimeInputPolyfill=(props)=>{// main component code}const_TimeInputPolyfill=forwardRef((props,forwardedRef)=>(<TimeInputPolyfill{...props}forwardedRef={forwardedRef}/>))exportdefault_TimeInputPolyfill
The TypeScript types might be tricky to update.
The text was updated successfully, but these errors were encountered:
It is written as a functional component so ref support needs to be explicitly added using
forwardRef
I would expect the structure to be like this:
The TypeScript types might be tricky to update.
The text was updated successfully, but these errors were encountered: