UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

45 lines (44 loc) 1.55 kB
import type { ExtractPublicPropTypes, PropType } from 'vue'; import { type ThemeComponent } from '../../composables/useTheme'; declare const shapes: readonly ["line", "circle"]; export type SkeletonShape = typeof shapes[number]; declare const skeletonProps: { tag: { type: StringConstructor; default: string; }; shape: { type: PropType<"line" | "circle">; default: string; validator: (val: SkeletonShape) => boolean; }; }; export type SkeletonProps = ExtractPublicPropTypes<typeof skeletonProps>; type InternalClasses = 'wrapper'; export interface SkeletonTheme extends ThemeComponent<SkeletonProps, InternalClasses> { } declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ tag: { type: StringConstructor; default: string; }; shape: { type: PropType<"line" | "circle">; default: string; validator: (val: "line" | "circle") => boolean; }; }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ tag: { type: StringConstructor; default: string; }; shape: { type: PropType<"line" | "circle">; default: string; validator: (val: "line" | "circle") => boolean; }; }>> & Readonly<{}>, { tag: string; shape: "line" | "circle"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;