mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-05 13:00:47 +08:00
382 B
382 B
形状
按钮拥有不同的形状。
<n-button circle>
<template v-slot:icon>
<md-save />
</template>
</n-button>
<n-button type="primary" round>Primary</n-button>
<n-button type="info">Info</n-button>
import mdSave from 'naive-ui/lib/icons/md-save'
export default {
components: {
mdSave
}
}
.n-button {
margin: 0 8px 8px 0;
}