naive-ui/demo/documentation/components/date-picker/enUS/size.demo.md
2020-12-12 15:33:41 +08:00

407 B

Size

Date Picker can be small, medium or large sized.

<n-space vertical>
  <n-date-picker v-model:value="timestamp" size="small" type="date" />
  <n-date-picker v-model:value="timestamp" size="medium" type="date" />
  <n-date-picker v-model:value="timestamp" size="large" type="date" />
</n-space>
export default {
  data () {
    return {
      timestamp: null
    }
  }
}