UNPKG

yanzhen-design-vue

Version:

16 lines (15 loc) 542 B
import { VNode, VNodeProps } from 'vue'; type IndicatorVNode = VNode | VNode[]; interface IndicatorContent { indicator?: (props?: VNodeProps) => IndicatorVNode; [key: string | symbol]: any; } export declare function setDefaultIndicator(Content: Omit<IndicatorContent, 'indicator'> & { indicator: NonNullable<IndicatorVNode | IndicatorContent['indicator']>; }): void; export declare function getDefaultIndicator(): { [x: string]: any; [x: symbol]: any; indicator?: (props?: VNodeProps) => IndicatorVNode; }; export {};