@fifteen/design-system-vue
Version:
Vue 3 (Composition API + Typescript) implementation of the Fifteen Design System
46 lines (45 loc) • 1.3 kB
TypeScript
import { Color } from '../types/colors';
export interface FCardProps {
/**
* Background color of the card
*/
color?: Color;
/**
* Background color of the card on hover
*/
hoverColor?: Color;
/**
* Color of the card's text
*/
textColor?: Color;
/**
* Color of the card's text on hover
*/
hoverTextColor?: Color;
/**
* Width of the card
*/
width?: string | number;
}
declare function __VLS_template(): {
slots: {
default?(_: {}): any;
};
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<FCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FCardProps> & Readonly<{}>, {
color: Color;
hoverColor: Color;
textColor: Color;
hoverTextColor: Color;
width: string | number;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};