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
While v3 supports native ref forwarding, typings should be updated to reflect this.
Expected Result
Typings work as expected.
Actual Result
TS2769: No overload matches this call. Overload 1 of 2, '(props: ButtonProps | Readonly<ButtonProps>): Button', gave the following error. Type 'MutableRefObject<HTMLButtonElement | undefined>' is not assignable to type 'LegacyRef<Button> | undefined'. Type 'MutableRefObject<HTMLButtonElement | undefined>' is not assignable to type 'RefObject<Button>'.
Parameter 'el' implicitly has an 'any' type, but a better type may be inferred from usage.ts(7044)
Bug Report
Steps
While v3 supports native ref forwarding, typings should be updated to reflect this.
Expected Result
Typings work as expected.
Actual Result
Version
3.0.0-beta.0
Testcase
https://codesandbox.io/s/semantic-ui-example-forked-9spw8n?file=/example.tsx
The text was updated successfully, but these errors were encountered: