UNPKG

@analyticaph/smart-campus-ui

Version:

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

54 lines (53 loc) 1.69 kB
import { type colors, type sizes } from '../config/ui'; interface Props { type?: 'button' | 'submit' | 'reset'; label?: string; color?: colors; size?: sizes; block?: boolean; outlined?: boolean; elevated?: boolean; } declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { type: string; label: string; color: "primary"; size: "md"; block: boolean; outlined: boolean; elevated: boolean; }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { type: string; label: string; color: "primary"; size: "md"; block: boolean; outlined: boolean; elevated: boolean; }>>>, { label: string; type: "button" | "submit" | "reset"; color: "primary" | "muted" | "info" | "success" | "warning" | "danger"; size: "xs" | "sm" | "md" | "lg" | "xl"; block: boolean; outlined: boolean; elevated: boolean; }, {}>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {};