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 Component #770

Open
1 of 2 tasks
matheuslanduci opened this issue Apr 30, 2022 · 1 comment · May be fixed by #804
Open
1 of 2 tasks

Box Component #770

matheuslanduci opened this issue Apr 30, 2022 · 1 comment · May be fixed by #804

Comments

@matheuslanduci
Copy link

Feature request 🚀

  • I will create Pull Request
  • It's just a suggestion

Expected

  • Hey! So, what about a Box component? Just a basic div with no style, basic style properties like padding, width and a as prop to transform the tag from div to another HTML tag (e.g. form) and support its properties.

Examples

import { Box } from '@geist-ui/core'
 
function Page() {
  return (
    <Box as="form" py={4} onSubmit={...} action={...}> 
      ... 
    </Box>
  )
}

Programme (Optional)

Others (Optional)

@Hdanzo Hdanzo linked a pull request Nov 15, 2022 that will close this issue
@rdycld
Copy link

rdycld commented Jan 11, 2023

is anything moving forward?

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 a pull request may close this issue.

2 participants