naive-ui/demo/documentation/components/switch/enUS/basic.md
2019-09-29 19:07:16 +08:00

178 B

Basic

<n-switch
  v-model="active"
/>
<n-switch
  v-model="active"
  disabled
/>
export default {
  data () {
    return {
      active: false
    }
  }
}