maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
21 lines (20 loc) • 891 B
TypeScript
import type { Component, ComponentPublicInstance, FunctionalComponent, SVGAttributes } from 'vue';
export type ModelValueSimple = string | number | null | undefined | boolean;
export type MazGalleryImage = {
thumbnail?: string;
src: string;
alt?: string;
} | string;
export type Color = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'danger' | 'white' | 'black' | 'transparent' | 'theme';
export declare const colors: Color[];
export type Size = 'mini' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
export type Position = 'top' | 'top right' | 'top left' | 'bottom' | 'bottom right' | 'bottom left' | 'left' | 'right';
export interface Source {
srcset?: string;
media?: string;
}
export interface DataImage {
sources?: Source[];
}
export type Image = DataImage | string;
export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;