UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

62 lines (61 loc) 1.83 kB
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor'; /** * Represents a card in a card list. */ declare const _default: import("vue").DefineComponent<{ /** * Specify a hover color for the card. */ color: { type: () => NeonFunctionalColor; default: null; }; /** * Render card as disabled. */ disabled: { type: BooleanConstructor; default: boolean; }; /** * Specify card is clickable. This will return click events when the card is clicked on. NOTE: use the href in the * card model instead of clickable=true if card is a link. */ clickable: { type: BooleanConstructor; default: boolean; }; }, { emit: (event: "click", ...args: any[]) => void; NeonFunctionalColor: typeof NeonFunctionalColor; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ /** * Specify a hover color for the card. */ color: { type: () => NeonFunctionalColor; default: null; }; /** * Render card as disabled. */ disabled: { type: BooleanConstructor; default: boolean; }; /** * Specify card is clickable. This will return click events when the card is clicked on. NOTE: use the href in the * card model instead of clickable=true if card is a link. */ clickable: { type: BooleanConstructor; default: boolean; }; }>> & { onClick?: ((...args: any[]) => any) | undefined; }, { disabled: boolean; color: NeonFunctionalColor; clickable: boolean; }, {}>; export default _default;