Commit 75290629 authored by 好多大米's avatar 好多大米 Committed by GitHub

Skeleton: fix skeleton.d.ts (#21074)

parent 2c39cce6
import { ElementUIComponent } from './component' import { ElementUIComponent } from './component'
import { VNode } from 'vue'
interface ElSkeletonSlots { interface ElSkeletonSlots {
/* default slot: Real rendering DOM */ /* default slot: Real rendering DOM */
default: VNode[]; default: VNode[]
/* template slot: Custom rendering skeleton template */ /* template slot: Custom rendering skeleton template */
template: VNode[]; template: VNode[]
[key: string]: VNode[] [key: string]: VNode[]
} }
...@@ -28,6 +28,6 @@ export declare class ElSkeleton extends ElementUIComponent { ...@@ -28,6 +28,6 @@ export declare class ElSkeleton extends ElementUIComponent {
/** Rendering delay in millseconds; default: 0 */ /** Rendering delay in millseconds; default: 0 */
throttle: number throttle: number
$slots: ElSkeletonSlots $slots: ElSkeletonSlots
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment