TACC / tup-ui

React client for TACC User Portal
2 stars 0 forks source link

chore: simplify <Button> type and size prop checks #326

Closed wesleyboar closed 11 months ago

wesleyboar commented 11 months ago

Overview

Simplify checks for <Button> props: type, size.

Note Now <Button> shows console errors, instead of TypeScript errors.

Warning By doing this, debugging prop errors with <Button> can be slower.

Related

Changes

Testing

  1. npx nx test core-components
  2. npx nx test tup-ui
  3. All tests should pass.

UI

N/A

wesleyboar commented 11 months ago

The prop type checking (how