UNPKG

2.02 kBTypeScriptView Raw
1import type { LiteralUnion } from '../_util/type';
2import type { PropType, ExtractPropTypes } from 'vue';
3export declare const ribbonProps: {
4 prefix: import("vue-types").VueTypeValidableDef<string> & {
5 default: string;
6 };
7 color: {
8 type: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "geekblue" | "volcano", string>>;
9 };
10 text: import("vue-types").VueTypeValidableDef<any>;
11 placement: import("vue-types").VueTypeDef<"end" | "start"> & {
12 default: "end" | "start";
13 };
14};
15export declare type RibbonProps = Partial<ExtractPropTypes<typeof ribbonProps>>;
16declare const _default: import("vue").DefineComponent<{
17 prefix: import("vue-types").VueTypeValidableDef<string> & {
18 default: string;
19 };
20 color: {
21 type: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "geekblue" | "volcano", string>>;
22 };
23 text: import("vue-types").VueTypeValidableDef<any>;
24 placement: import("vue-types").VueTypeDef<"end" | "start"> & {
25 default: "end" | "start";
26 };
27}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28 prefix: import("vue-types").VueTypeValidableDef<string> & {
29 default: string;
30 };
31 color: {
32 type: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "geekblue" | "volcano", string>>;
33 };
34 text: import("vue-types").VueTypeValidableDef<any>;
35 placement: import("vue-types").VueTypeDef<"end" | "start"> & {
36 default: "end" | "start";
37 };
38}>>, {
39 placement: "end" | "start";
40 prefix: string;
41}>;
42export default _default;