UNPKG

@aotearoan/neon

Version:

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

55 lines (54 loc) 1.5 kB
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor'; /** * A component for displaying notification counts to the user. */ declare const _default: import("vue").DefineComponent<{ /** * Whether the notification is active */ active: { type: BooleanConstructor; default: boolean; }; /** * The notification color */ color: { type: () => NeonFunctionalColor; default: NeonFunctionalColor; }; /** * The count of notifications to display, if greater than 9 <em>9+</em> is displayed */ count: { type: NumberConstructor; default: null; }; }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ /** * Whether the notification is active */ active: { type: BooleanConstructor; default: boolean; }; /** * The notification color */ color: { type: () => NeonFunctionalColor; default: NeonFunctionalColor; }; /** * The count of notifications to display, if greater than 9 <em>9+</em> is displayed */ count: { type: NumberConstructor; default: null; }; }>>, { count: number; color: NeonFunctionalColor; active: boolean; }, {}>; export default _default;