Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃Ч refactor(formgroup): add spacer prop with mb-3 as default for parity #41

Merged
merged 4 commits into from
Dec 30, 2023

Conversation

dysfunc
Copy link
Contributor

@dysfunc dysfunc commented Dec 30, 2023

Why these changes?
The previous version of the library assigned the mb-3 class to all <FormGroup> components by default. We initially removed the default class entirely so devs could decide on what spacing themselves. This change tries to satisfy both of these cases but exposing a new prop spacing that has mb-3 assigned by default but can be changed to any class name.

@dysfunc dysfunc self-assigned this Dec 30, 2023
@dysfunc dysfunc added the Type: Refactor Enhancements, deletions, etc. to existing code label Dec 30, 2023
@dysfunc dysfunc added this to the v6.1.1 milestone Dec 30, 2023
@dysfunc dysfunc changed the title refactor(formgroup): add spacer prop with mb-3 as default for parity 馃Ч refactor(formgroup): add spacer prop with mb-3 as default for parity Dec 30, 2023
@dysfunc dysfunc merged commit 3db4aee into main Dec 30, 2023
4 checks passed
@dysfunc dysfunc deleted the form-group branch December 30, 2023 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Refactor Enhancements, deletions, etc. to existing code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant