Skip to content

TextControl, TextareaControl: Add flag to remove bottom margin - #43782

Merged
mirka merged 3 commits into
trunkfrom
remove-margin
Sep 1, 2022
Merged

mirka merged 3 commits into
trunkfrom
remove-margin

Conversation

@mirka

@mirka mirka commented Sep 1, 2022

Copy link
Copy Markdown
Member

Part of #38730

What?

Adds a __nextHasNoMarginBottom prop to remove the bottom margins.

Why?

Better reusability.

How?

Passes the prop through to BaseControl.

Testing Instructions

npm run storybook:dev and check the stories for TextControl and TextareaControl.

@mirka mirka added the [Package] Components /packages/components label Sep 1, 2022
@mirka
mirka requested a review from ajitbohra as a code owner September 1, 2022 15:25
@mirka mirka self-assigned this Sep 1, 2022
@mirka mirka mentioned this pull request Sep 1, 2022
49 tasks done
@mirka
mirka requested review from chad1008, ciampo and walbo September 1, 2022 15:27

@walbo walbo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Tested and works as expected 🚢

@mirka
mirka merged commit 95f71ed into trunk Sep 1, 2022
@mirka
mirka deleted the remove-margin branch September 1, 2022 19:05
@github-actions github-actions Bot added this to the Gutenberg 14.1 milestone Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Components /packages/components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants