Skip to content

feature: add PropTypes to shared components#16

Open
Tmarlow98 wants to merge 1 commit into
LOLinDark:mainfrom
Tmarlow98:add-proptypes-to-shared-components
Open

feature: add PropTypes to shared components#16
Tmarlow98 wants to merge 1 commit into
LOLinDark:mainfrom
Tmarlow98:add-proptypes-to-shared-components

Conversation

@Tmarlow98
Copy link
Copy Markdown

Add PropTypes declarations to IncompleteFeatureBadge, StateIndicator, BrandWordmark, and DevTag.
Install prop-types package.
NetworkStatusBadge has no props and needs no declaration.

Improves developer experience by surfacing incorrect prop usage at runtime in dev mode and acts as lightweight inline documentation.

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 this pull request may close these issues.

1 participant