Commit ac133fe
ref(js): Factor button functionality (#91763)
- 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 b9b8930 commit ac133fe
File tree
7 files changed
+435
-408
lines changed- static/app/components/core
- button
- segmentedControl
7 files changed
+435
-408
lines changed
0 commit comments