tdesign-mobile-vue
Version:
tdesign-mobile-vue
101 lines (100 loc) • 4.27 kB
TypeScript
import { NoticeBarMarquee } from './type';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
content: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['content']>;
};
direction: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['direction']>;
default: import("@/components").TdNoticeBarProps['direction'];
validator(val: import("@/components").TdNoticeBarProps['direction']): boolean;
};
interval: {
type: NumberConstructor;
default: number;
};
marquee: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['marquee']>;
default: import("@/components").TdNoticeBarProps['marquee'];
};
operation: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['operation']>;
};
prefixIcon: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['prefixIcon']>;
default: import("@/components").TdNoticeBarProps['prefixIcon'];
};
suffixIcon: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['suffixIcon']>;
};
theme: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['theme']>;
default: import("@/components").TdNoticeBarProps['theme'];
validator(val: import("@/components").TdNoticeBarProps['theme']): boolean;
};
visible: {
type: BooleanConstructor;
default: any;
};
modelValue: {
type: BooleanConstructor;
default: any;
};
defaultVisible: BooleanConstructor;
onChange: import("vue").PropType<import("@/components").TdNoticeBarProps['onChange']>;
onClick: import("vue").PropType<import("@/components").TdNoticeBarProps['onClick']>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
content: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['content']>;
};
direction: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['direction']>;
default: import("@/components").TdNoticeBarProps['direction'];
validator(val: import("@/components").TdNoticeBarProps['direction']): boolean;
};
interval: {
type: NumberConstructor;
default: number;
};
marquee: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['marquee']>;
default: import("@/components").TdNoticeBarProps['marquee'];
};
operation: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['operation']>;
};
prefixIcon: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['prefixIcon']>;
default: import("@/components").TdNoticeBarProps['prefixIcon'];
};
suffixIcon: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['suffixIcon']>;
};
theme: {
type: import("vue").PropType<import("@/components").TdNoticeBarProps['theme']>;
default: import("@/components").TdNoticeBarProps['theme'];
validator(val: import("@/components").TdNoticeBarProps['theme']): boolean;
};
visible: {
type: BooleanConstructor;
default: any;
};
modelValue: {
type: BooleanConstructor;
default: any;
};
defaultVisible: BooleanConstructor;
onChange: import("vue").PropType<import("@/components").TdNoticeBarProps['onChange']>;
onClick: import("vue").PropType<import("@/components").TdNoticeBarProps['onClick']>;
}>> & Readonly<{
onChange?: (...args: any[]) => any;
}>, {
direction: "horizontal" | "vertical";
interval: number;
marquee: boolean | NoticeBarMarquee;
prefixIcon: Boolean | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue);
theme: "error" | "info" | "success" | "warning";
visible: boolean;
modelValue: boolean;
defaultVisible: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;