Skip to content

Scalable solution for sharing props across components #32

Description

@zakbutcher

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions