naive-ui/demo/documentation/components/time-picker/enUS/size.demo.md
2020-10-22 13:14:56 +08:00

398 B

Size

Time Picker can be small, medium or large sized.

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