-
Notifications
You must be signed in to change notification settings - Fork 536
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
Rename Block and Box ✨ #210
Conversation
<Block mb={6}> | ||
<LiveEditor code={`<Box borderColor="green.5" p={2}>This is a box with a green border.</Box>`} scope={{Box}} /> | ||
</Block> | ||
<table> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is all weird because it used to be the Box/BorderBox
file
@@ -1,14 +1,5 @@ | |||
import {withSystemProps, LAYOUT} from './system-props' | |||
|
|||
const Box = withSystemProps( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is also weird because of the file name change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This PR renames Block to Box, and Box to BorderBox + updates all relevant examples and tests.
Closes #189
If development process was changed:
Description of changes:
Merge Checklist: