mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-26 04:27:26 +08:00
fix(utils): fix iconPropType
(#9506)
This commit is contained in:
@ -12,7 +12,8 @@ import { definePropType } from './props'
|
||||
|
||||
import type { Component, VNode } from 'vue'
|
||||
|
||||
export const iconPropType = definePropType<Component | (() => VNode)>([
|
||||
export const iconPropType = definePropType<string | Component | (() => VNode)>([
|
||||
String,
|
||||
Object,
|
||||
Function,
|
||||
])
|
||||
|
Reference in New Issue
Block a user