naive-ui/demo/documentation/components/button/enUS/disabled.md
2020-02-03 20:45:06 +08:00

498 B

Disabled

Button can be disabled.

<n-button
  size="small"
  disabled
>
  Disabled
</n-button>
<n-button
  disabled
  type="primary"
>
  Disabled
</n-button>
<n-button
  disabled
  round
  type="primary"
>
  Disabled
</n-button>
<n-button
  disabled
  circle
>
  <template v-slot:icon>
    <md-save />
  </template>
</n-button>
import mdSave from 'naive-ui/lib/icons/md-save'

export default {
  components: {
    mdSave
  }
}
.n-button {
  margin: 0 8px 8px 0;
}