geist-org/vue

Add `icon` option to `zi-button`

unix opened this issue ยท 0 comments

unix commented

Feature request ๐Ÿš€

Expected:

  • Add icon option to get a component value
  • No breaking changes
  • Released in version 2.4

Examples:

<zi-button :icon-right="IconComponent">
Actions
</zi-button>

Programme:

  • The current icon does not support custom colors, so the example needs to include the hot to custom icon component.
  • Button in some status should ignore the icons.