Skip to content

Scalable solution for sharing props across components #32

@zakbutcher

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions