UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

40 lines (39 loc) 1.35 kB
import type { Color } from './types'; export type BadgeColor = Color | 'gray'; export type BadgeRoundedSize = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'; export interface Props { color?: BadgeColor; size?: string; nowrap?: boolean; outline?: boolean; pastel?: boolean; /** * Size radius of the component's border * @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'` */ roundedSize?: BadgeRoundedSize; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; }; refs: {}; rootEl: HTMLSpanElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, { size: string; color: BadgeColor; roundedSize: BadgeRoundedSize; outline: boolean; pastel: boolean; nowrap: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };