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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: restructure DrawerSection component #1063

Merged
merged 1 commit into from
May 15, 2019

Conversation

brunohkbx
Copy link
Collaborator

@brunohkbx brunohkbx commented May 14, 2019

Apply marginTop to Divider instead of marginVertical
Apply style and marginBottom to View wrapper

Motivation

Fix #1062

fix

Test plan

  1. Download this branch
  2. Apply style with backgroundColor to a Drawer.Section in the example app.

@callstack-bot
Copy link

callstack-bot commented May 14, 2019

Hey @brunohkbx, thank you for your pull request 🤗. The documentation from this branch can be viewed here. Please remember to update Typescript types if you changed API.

@brunohkbx brunohkbx requested a review from Trancever May 14, 2019 12:53
src/components/Drawer/DrawerSection.js Outdated Show resolved Hide resolved
@brunohkbx brunohkbx changed the title refactor: wrap DrawerSection with a View refactor: restructure DrawerSection component May 14, 2019
@brunohkbx brunohkbx requested a review from Trancever May 14, 2019 16:28
src/components/Drawer/DrawerSection.js Outdated Show resolved Hide resolved
src/components/Drawer/DrawerSection.js Outdated Show resolved Hide resolved
Apply marginTop to Divider instead of marginVertical
Apply style and marginBottom to View wrapper
@brunohkbx
Copy link
Collaborator Author

Thanks @satya164. Done: 34bace7

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.

Applying backgroundColor to Drawer.Section leaks out to Divider component
5 participants