fix(utils-v2): add Function type to iconPropType (#5890)

This commit is contained in:
啝裳
2022-02-09 22:13:50 +08:00
committed by GitHub
parent a8a8cd8f08
commit 118ca6cb7c

View File

@@ -11,7 +11,11 @@ import {
import { definePropType } from './prop'
import type { Component } from 'vue'
export const iconPropType = definePropType<string | Component>([String, Object])
export const iconPropType = definePropType<string | Component>([
String,
Object,
Function,
])
export const CloseComponents = {
Close,