mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
types(TimePicker): export TimePickerColumnType
This commit is contained in:
parent
829db06d5b
commit
b608fb23f0
@ -210,5 +210,5 @@ export default {
|
|||||||
The component exports the following type definitions:
|
The component exports the following type definitions:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import type { TimePickerProps } from 'vant';
|
import type { TimePickerProps, TimePickerColumnType } from 'vant';
|
||||||
```
|
```
|
||||||
|
@ -211,7 +211,7 @@ export default {
|
|||||||
组件导出以下类型定义:
|
组件导出以下类型定义:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import type { TimePickerProps } from 'vant';
|
import type { TimePickerProps, TimePickerColumnType } from 'vant';
|
||||||
```
|
```
|
||||||
|
|
||||||
## 常见问题
|
## 常见问题
|
||||||
|
@ -4,6 +4,7 @@ import _TimePicker, { TimePickerProps } from './TimePicker';
|
|||||||
export const TimePicker = withInstall(_TimePicker);
|
export const TimePicker = withInstall(_TimePicker);
|
||||||
export default TimePicker;
|
export default TimePicker;
|
||||||
export type { TimePickerProps };
|
export type { TimePickerProps };
|
||||||
|
export type { TimePickerColumnType } from './TimePicker';
|
||||||
|
|
||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user