Skip to content

Make Block shadow prop accept "small" instead of true #102

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

Merged
merged 4 commits into from
Jul 6, 2018

Conversation

shawnbot
Copy link
Contributor

@shawnbot shawnbot commented Jul 2, 2018

The shadow prop of Block (and Box) no longer accepts the boolean true. Instead, pass shadow="small" to add the box-shadow class name.

Fixes #76.

@shawnbot shawnbot requested review from emplums and a team and removed request for emplums July 2, 2018 19:47
Copy link

@emplums emplums left a comment

Choose a reason for hiding this comment

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

Can you update the Block example in the docs to document this prop a little better? Otherwise this looks great! 🎉

@emplums
Copy link

emplums commented Jul 2, 2018

  • The docs for this component might be a good candidate for the PropsForm Kit component! There's an example of that in usage with the FlexContainer component if you want to check it out!

@shawnbot
Copy link
Contributor Author

shawnbot commented Jul 3, 2018

Docs updated! ❤️

@emplums emplums mentioned this pull request Jul 3, 2018
6 tasks
@shawnbot
Copy link
Contributor Author

shawnbot commented Jul 3, 2018

@emplums do you mind giving this one more look? 🙇

@shawnbot
Copy link
Contributor Author

shawnbot commented Jul 3, 2018

Feel free to merge this while I'm out if it looks good! ✌️

@emplums emplums merged commit e4bf03c into release-0.0.7-beta Jul 6, 2018
@emplums emplums deleted the box-shadow-refactor branch July 6, 2018 16:27
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.

2 participants