Closed wesleyboar closed 11 months ago
Simplify checks for <Button> props: type, size.
<Button>
type
size
Note Now <Button> shows console errors, instead of TypeScript errors. Warning By doing this, debugging prop errors with <Button> can be slower.
Note Now <Button> shows console errors, instead of TypeScript errors.
Warning By doing this, debugging prop errors with <Button> can be slower.
npx nx test core-components
npx nx test tup-ui
N/A
The prop type checking (how works before this) seems to be the best way to avoid devs making buttons wrong.
Rejected Alternatives
Overview
Simplify checks for
<Button>
props:type
,size
.Related
Changes
<Button>
test<Button>
prop checks to be console errorsTesting
npx nx test core-components
npx nx test tup-ui
UI
N/A