naive-ui/demo/documentation/components/avatar/enUS/icon.md
2019-11-22 13:27:49 +08:00

336 B

Icon

<n-avatar>
  <n-icon>
    <md-cash />
  </n-icon>
</n-avatar>
import mdCash from 'naive-ui/lib/icons/md-cash'
import mdContacts from 'naive-ui/lib/icons/md-contacts'
import iosContacts from 'naive-ui/lib/icons/ios-contacts'

export default {
  components: {
    mdCash,
    mdContacts,
    iosContacts
  }
}