-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sparkle] - enh(input): add forwardeRef and maxLength (#7642)
* [sparkle] - refactor: updated Input and Searchbar components to use forwardRef - Refactored the Input component to utilize forwardRef for better ref handling - Introduced `maxLength` prop to Input component for restricting input length - Made the Searchbar component definition consistent with the updated Input component using forwardRef * [sparkle] - feature: bump package version to 0.2.249 - The @dust-tt/sparkle package has been updated from version 0.2.248 to 0.2.249 to introduce new features or bug fixes. * [sparkle] - refactor: add displayName to Input component - Assign displayName property to Input for better debugging in React dev tools --------- Co-authored-by: Jules <[email protected]>
- Loading branch information
1 parent
e5560d6
commit c636e67
Showing
4 changed files
with
91 additions
and
79 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters