naive-ui/demo/documentation/components/nimbusIcon/enUS/useInButton.md
2019-10-25 19:25:20 +08:00

643 B

Use in Button

<n-button size="small">
  <template v-slot:icon>
    <n-nimbus-icon
      type="share"
      color="#63E2B7"
    />
  </template>
  Pull Request
</n-button>
<n-button>
  <template v-slot:icon>
    <n-nimbus-icon
      type="share"
      color="#63E2B7"
    />
  </template>
  Pull Request
</n-button>
<n-button size="small">
  <template v-slot:icon>
    <n-nimbus-icon
      type="share"
      color="#63E2B7"
    />
  </template>
  Pull Request
</n-button>
<n-button icon-on-right>
  <template v-slot:icon>
    <n-nimbus-icon
      type="share"
      color="#63E2B7"
    />
  </template>
  Pull Request
</n-button>