2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-01-24 12:45:18 +08:00
naive-ui/demo/documentation/components/input/enUS/basic.demo.md
2020-12-12 15:33:41 +08:00

313 B

Basic

Basic usage of input.

<n-space vertical>
  <n-input v-model:value="value" type="input" placeholder="Basic Input" />
  <n-input v-model:value="value" type="textarea" placeholder="Basic Textarea" />
</n-space>
export default {
  data () {
    return {
      value: null
    }
  }
}