-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(CodeSnippet): use hooks clean up render logic (#4636)
* refactor(CodeSnippet): use hooks clean up render logic * Update packages/react/src/components/CodeSnippet/CodeSnippet.js Co-Authored-By: emyarod <[email protected]> * fix: update when children or ref changes * refactor: organize * fix: use function rather than arrow * fix: ref destructuring * Update packages/react/src/components/CodeSnippet/CodeSnippet.js Co-Authored-By: Josh Black <[email protected]> * fix: spread variable
- Loading branch information
Showing
1 changed file
with
140 additions
and
193 deletions.
There are no files selected for viewing
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