I noticed the Link and Button are set up differently in what causes it to be the red button or link.
In Link, the type property does it, and in the Button component, the appearance property does it.
- Button - appearance - primary | secondary | warning
- Link - type - default | destructive
Is it okay to standardize it so there's less confusion and stuff to keep track of?
I would prefer appearance over type since type is a reserved keyword in Typescript
I think we should go with
appearance - default | secondary | warning
Your thoughts?
@virginiacc @anselmbradford @billhimmelsbach @natalia-fitzgerald
I noticed the Link and Button are set up differently in what causes it to be the red button or link.
In Link, the type property does it, and in the Button component, the appearance property does it.
Is it okay to standardize it so there's less confusion and stuff to keep track of?
I would prefer appearance over type since type is a reserved keyword in Typescript
I think we should go with
appearance - default | secondary | warning
Your thoughts?
@virginiacc @anselmbradford @billhimmelsbach @natalia-fitzgerald