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

Vue component considers 0 (for rotation) and md (for size) despite them being legitimate values

Open mattburlage opened this issue 11 months ago • 6 comments

The vue component throws a warning when rotation is 0 or size is md, making it difficult to determine those values programmatically. Having those as defaults is reasonable, but the component should also accept those values explicitly.

<FontAwesomeIcon /> shouldn't consider 0 (for rotation) or 'md' (for size) as invalid prop values.

For example:

<FontAwesomeIcon
   :icon="ICON"
   :rotation="ROTATION"
   :size="SIZE"
/>

mattburlage avatar Mar 21 '24 02:03 mattburlage