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

feat: Add minWidth and headerBackground props to Modal #26

Merged
merged 2 commits into from
Mar 23, 2021

Conversation

plind-dm
Copy link
Contributor

[ ] Before opening a pull request, please read the contributing guidelines first
[ ] If your PR is work in progress, open it as draft
[ ] Before requesting a review, all the checks need to pass
[ ] Explain what your PR does

@@ -48,9 +51,11 @@ const Modal: React.FC<Props> = ({
children,
hideCloseButton = false,
bodyPadding = "24px",
headerBackground = "transparent",
minWidth = "360px",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why put the minWidth on the title and not the parent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hachiojidev

minWidth is added to the parent. It just looks like that it is added to the Title in the git. :)

Copy link
Contributor

Choose a reason for hiding this comment

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

My bad.

@hachiojidev hachiojidev merged commit ba5d231 into master Mar 23, 2021
@hachiojidev hachiojidev deleted the feature/modal-updates branch March 23, 2021 06:17
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.

None yet

2 participants