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

Support modal headers with no bottom border #78

Merged
merged 2 commits into from
Nov 13, 2018
Merged

Support modal headers with no bottom border #78

merged 2 commits into from
Nov 13, 2018

Conversation

SpencerAlexander
Copy link
Contributor

No description provided.

isOpen={state.modal}
onClose={() => setState({ modal: false })}
title="Modal with no title border"
theme={{ headerBottomBorder: 'none', background: 'white' }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's use styleOverrides instead of theme to control non-color style overrides.

isOpen={state.modal}
onClose={() => setState({ modal: false })}
title="Modal with no title border"
styleOverrides={{ bottomBorder: 'none' }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dustinsoftware, something like this pattern you had in mind?

@dustinsoftware dustinsoftware merged commit 51d7428 into Faithlife:master Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants