naive-ui/demo/documentation/components/icon/zhCN/basic.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

399 B

基础用法

<n-icon
  size="40"
>
  <game-controller-outline />
</n-icon>
<n-icon
  size="40"
  color="#0e7a0d"
>
  <game-controller />
</n-icon>
import gameControllerOutline from 'naive-ui/lib/icons/game-controller-outline'
import gameController from 'naive-ui/lib/icons/game-controller'

export default {
  components: {
    gameControllerOutline,
    gameController
  }
}