PreviewText

阅读态组件,主要用来实现类 Input,类 DatePicker 这些组件的阅读态

简单案例

扩展案例

API

PreviewText.Input

参考 https://antdv.com/components/input-cn/open in new window

PreviewText.Select

参考 https://antdv.com/components/select-cn/open in new window

PreviewText.Cascader

参考 https://antdv.com/components/cascader-cn/open in new window

PreviewText.DatePicker

参考 https://antdv.com/components/date-picker-cn/open in new window

PreviewText.TimePicker

参考 https://antdv.com/components/time-picker-cn/open in new window

PreviewText

属性名类型描述默认值
valuestirng缺省占位符N/A

PreviewText.Placeholder

属性名类型描述默认值
valuestirng缺省占位符N/A

PreviewText.usePlaceholder

interface usePreviewTextPlaceholder {
  (): string
}