Skip to content

feat!: extract hooks from component files #6915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 24, 2025
Merged

feat!: extract hooks from component files #6915

merged 2 commits into from
Apr 24, 2025

Conversation

kyletsang
Copy link
Member

BREAKING CHANGE: Extracts the useCol and useAccordionButton from Col.tsx and AccordionButton.tsx so the CJS default export is consistent with other components (ie. no export.default = ***).

Fixes #6539

@kyletsang kyletsang merged commit 8747836 into master Apr 24, 2025
11 checks passed
@kyletsang kyletsang deleted the extract-hooks branch April 24, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Col component import throws "Element type is invalid"
1 participant