GamePortrait/node_modules/vant/lib/coupon-cell/CouponCell.d.ts

79 lines
2.1 KiB
TypeScript

import { type ExtractPropTypes } from 'vue';
import type { CouponInfo } from '../coupon';
export declare const couponCellProps: {
title: StringConstructor;
border: {
type: BooleanConstructor;
default: true;
};
editable: {
type: BooleanConstructor;
default: true;
};
coupons: {
type: import("vue").PropType<CouponInfo[]>;
default: () => never[];
};
currency: {
type: import("vue").PropType<string>;
default: string;
};
chosenCoupon: {
type: (NumberConstructor | StringConstructor)[];
default: number;
};
};
export type CouponCellProps = ExtractPropTypes<typeof couponCellProps>;
declare const _default: import("vue").DefineComponent<{
title: StringConstructor;
border: {
type: BooleanConstructor;
default: true;
};
editable: {
type: BooleanConstructor;
default: true;
};
coupons: {
type: import("vue").PropType<CouponInfo[]>;
default: () => never[];
};
currency: {
type: import("vue").PropType<string>;
default: string;
};
chosenCoupon: {
type: (NumberConstructor | StringConstructor)[];
default: number;
};
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
title: StringConstructor;
border: {
type: BooleanConstructor;
default: true;
};
editable: {
type: BooleanConstructor;
default: true;
};
coupons: {
type: import("vue").PropType<CouponInfo[]>;
default: () => never[];
};
currency: {
type: import("vue").PropType<string>;
default: string;
};
chosenCoupon: {
type: (NumberConstructor | StringConstructor)[];
default: number;
};
}>>, {
border: boolean;
currency: string;
editable: boolean;
coupons: CouponInfo[];
chosenCoupon: string | number;
}>;
export default _default;