Skip to content

Commit d244645

Browse files
committed
ref(js): Factor button functionality
- Move `useButtonFunctionality` into it's own module, keeping index.tsx specifc to JUST what is required to render the Button, and not sharing anything with linkButton - Move common styles out of the index module into styles.tsx, renames index.chonk to styles.chonk as well. - Move common types into types.tsx - Renames `getChonkButtonStyles` to `DO_NOT_USE_getChonkButtonStyles` to match the `DO_NOT_USE_getButtonStyles`
1 parent 3c81588 commit d244645

File tree

7 files changed

+435
-408
lines changed

7 files changed

+435
-408
lines changed

0 commit comments

Comments
 (0)