We currently have several props within our components to describe component variants. For example, in the Button component, we're using buttonType and in Link we're using variant. We should determine a naming convention moving forward so that we can use a shared vocabulary and follow a pattern within our code.
Acceptance Criteria
- [x] Discuss among team which naming convention to use
- [x] Document this naming convention on the Docs site
- [x] Create follow-up tickets to update props in our component library and in the mobile app
Description
We currently have several props within our components to describe component variants. For example, in the Button component, we're using
buttonType
and in Link we're usingvariant
. We should determine a naming convention moving forward so that we can use a shared vocabulary and follow a pattern within our code.Acceptance Criteria
- [x] Discuss among team which naming convention to use - [x] Document this naming convention on the Docs site - [x] Create follow-up tickets to update props in our component library and in the mobile app