naive-ui/demo/documentation/components/button/enUS/shape.demo.md
Jiwen Bai 6453b90043 Vite doc with vue3 (#315)
* feat(vite-doc): add vite md plugin

* fixed(site-vite): merge conflicts

* fix(vite-doc): some bug in vue rerender,use key to advoid

* feat(vite-doc): finished doc

* fix(vite-doc): import path should be same as normal

* chore(vite-doc): remove useless code

Co-authored-by: Lecong Zhang <50313260+tskirby@users.noreply.github.com>
2020-10-26 15:03:02 +08:00

352 B

Shape

Button has different shapes.

<n-space>
  <n-button circle>
    <template v-slot:icon>
      <cash-icon />
    </template>
  </n-button>
  <n-button round>Round</n-button>
  <n-button>Rect</n-button>
</n-space>
import CashIcon from 'naive-ui/lib/icons/cash-outline.vue'

export default {
  components: {
    CashIcon
  }
}