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

Box #10

Open
Tracked by #6
ahmad-reza619 opened this issue Jul 28, 2021 · 2 comments · Fixed by #19 · May be fixed by #21
Open
Tracked by #6

Box #10

ahmad-reza619 opened this issue Jul 28, 2021 · 2 comments · Fixed by #19 · May be fixed by #21
Labels
enhancement New feature or request Frontend it's the frontend work
Milestone

Comments

@ahmad-reza619
Copy link
Member

ahmad-reza619 commented Jul 28, 2021

This Box component is like a div but we can assign any styling to it via the props like so

<Box
    alignItems="center"
    flex
    justifyContent="center"
    padding={10}
>
    Heya!
</Box>
@ahmad-reza619 ahmad-reza619 added enhancement New feature or request Frontend it's the frontend work labels Jul 28, 2021
@ahmad-reza619 ahmad-reza619 added this to the v1 milestone Jul 29, 2021
@ahmad-reza619 ahmad-reza619 added this to To do in MVP Jul 29, 2021
@ahmad-reza619 ahmad-reza619 removed this from To do in MVP Jul 29, 2021
@ahmad-reza619
Copy link
Member Author

Still incomplete, & need polishing

@ahmad-reza619 ahmad-reza619 reopened this Sep 26, 2022
@ahmad-reza619
Copy link
Member Author

this time i made the padding, & margin props to be using spacing unit, like 'small' or 'large'

<Box padding='small'>This is box</Box>

@ahmad-reza619 ahmad-reza619 linked a pull request Sep 26, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Frontend it's the frontend work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant