vue-atlas icon indicating copy to clipboard operation
vue-atlas copied to clipboard

[Feature request] "type" prop rename

Open nvms opened this issue 6 years ago • 0 comments
trafficstars

any prop that references 'info', 'success', 'warning', 'danger', etc., should be identified by a prop named appearance. currently, the prop is named type on most components.

this would be a breaking change

What problem does this feature solve?

It can get confusing or difficult to remember, since the prop is named differently on various components.

for example:

<va-button appearance="success"> ... </va-button>
<va-lozenge appearance="danger"> ... </va-lozenge>

nvms avatar Feb 23 '19 23:02 nvms