department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

DS - Determine naming convention for component variants #217

Closed narin closed 2 months ago

narin commented 3 months ago

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 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