Skip to content

Commit

Permalink
feat(textbox): use React.forwardRef and deprecate inputRef prop
Browse files Browse the repository at this point in the history
allow a `ref` to be passed directly to the component, removing the need for the `inputRef` prop
which is now deprecated

re #5564
  • Loading branch information
robinzigmond committed Jan 4, 2023
1 parent b5f9882 commit 2c1f820
Show file tree
Hide file tree
Showing 3 changed files with 256 additions and 196 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`Fieldset renders correctly 1`] = `
data-component="fieldset-style"
inline={false}
>
<Textbox />
<ForwardRef />
</styled.div>
</styled.fieldset>
</ContextProvider>
Expand Down
Loading

0 comments on commit 2c1f820

Please sign in to comment.