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

Scalable solution for sharing props across components #32

Open
zakbutcher opened this issue May 3, 2020 · 0 comments
Open

Scalable solution for sharing props across components #32

zakbutcher opened this issue May 3, 2020 · 0 comments
Assignees
Labels
architecture Prepare for warp speed feature request Wouldn't it be cool if... help wanted Halp! Pls!

Comments

@zakbutcher
Copy link
Contributor

zakbutcher commented May 3, 2020

Motivation

There are a wide variety of props that are shared across components and a scalable solution to add, remove, or modify how those props apply to multiple components is a should have feature of this component library.

Prop Groups

  • Default Props (id, className, etc)
  • Layout Props (padding, margin, etc)
  • Event Props (onClick, onChange, etc)

Resources / Possible Options

  • Styled System works w/ styled components and may be a good solution for highly-shareable props (e.g. layout styles)
@zakbutcher zakbutcher added the feature request Wouldn't it be cool if... label May 3, 2020
@zakbutcher zakbutcher self-assigned this May 7, 2020
@zakbutcher zakbutcher added architecture Prepare for warp speed help wanted Halp! Pls! labels May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Prepare for warp speed feature request Wouldn't it be cool if... help wanted Halp! Pls!
Projects
None yet
Development

No branches or pull requests

1 participant