UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

187 lines (186 loc) 6.39 kB
import { type PropType, type VNodeChild } from 'vue'; import type { ExtractPublicPropTypes } from '../../_utils'; export declare const emptyProps: { description: StringConstructor; showDescription: { type: BooleanConstructor; default: boolean; }; showIcon: { type: BooleanConstructor; default: boolean; }; size: { type: PropType<"small" | "medium" | "large" | "huge">; default: string; }; renderIcon: PropType<() => VNodeChild>; theme: PropType<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>; themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>>; builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>>; }; export type EmptyProps = ExtractPublicPropTypes<typeof emptyProps>; declare const _default: import("vue").DefineComponent<{ description: StringConstructor; showDescription: { type: BooleanConstructor; default: boolean; }; showIcon: { type: BooleanConstructor; default: boolean; }; size: { type: PropType<"small" | "medium" | "large" | "huge">; default: string; }; renderIcon: PropType<() => VNodeChild>; theme: PropType<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>; themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>>; builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>>; }, { mergedClsPrefix: import("vue").Ref<string>; mergedRenderIcon: import("vue").ComputedRef<() => VNodeChild>; localizedDescription: import("vue").ComputedRef<string>; cssVars: import("vue").ComputedRef<{ '--n-icon-size': string; '--n-font-size': string; '--n-bezier': string; '--n-text-color': string; '--n-icon-color': string; '--n-extra-text-color': string; }> | undefined; themeClass: import("vue").Ref<string> | undefined; onRender: (() => void) | undefined; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ description: StringConstructor; showDescription: { type: BooleanConstructor; default: boolean; }; showIcon: { type: BooleanConstructor; default: boolean; }; size: { type: PropType<"small" | "medium" | "large" | "huge">; default: string; }; renderIcon: PropType<() => VNodeChild>; theme: PropType<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>; themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>>; builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", { fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; textColor: string; iconColor: string; extraTextColor: string; iconSizeSmall: string; iconSizeMedium: string; iconSizeLarge: string; iconSizeHuge: string; }, any>>>; }>>, { size: "small" | "medium" | "large" | "huge"; showDescription: boolean; showIcon: boolean; }, {}>; export default _default;