Picker
日期、时间和颜色的原生选择器。
使用
<m-picker type="date" label="date"></m-picker>
<m-picker type="time" label="time"></m-picker>
<m-picker type="color" label="color"></m-picker>
<m-picker type="datetime-local" label="datetime-local"></m-picker>
API
Props
{
type: 'date' | 'time' | 'color' | 'datetime-local',
label: string
}