Picker

日期、时间和颜色的原生选择器。

使用

  1. <m-picker type="date" label="date"></m-picker>
  2. <m-picker type="time" label="time"></m-picker>
  3. <m-picker type="color" label="color"></m-picker>
  4. <m-picker type="datetime-local" label="datetime-local"></m-picker>

API

Props

  1. {
  2. type: 'date' | 'time' | 'color' | 'datetime-local',
  3. label: string
  4. }