tav-ui
Version:
47 lines (46 loc) • 1.43 kB
TypeScript
declare const TaFollow: import("tav-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
id: {
type: StringConstructor[];
required: boolean;
};
type: {
type: import("vue").PropType<number>;
required: boolean;
};
showIcon: {
type: BooleanConstructor;
default: boolean;
};
initStatusApi: {
type: FunctionConstructor;
};
updateStatusApi: {
type: FunctionConstructor;
};
}, {
tavI18n: (key: string, vars?: any) => any;
getFollwStatus: () => void;
changFollwStatus: () => void;
loading: import("vue").Ref<boolean, boolean>;
isFollow: import("vue").Ref<boolean, boolean>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
id?: unknown;
type?: unknown;
showIcon?: unknown;
initStatusApi?: unknown;
updateStatusApi?: unknown;
} & {
showIcon: boolean;
} & {
type?: number | undefined;
id?: string | undefined;
initStatusApi?: Function | undefined;
updateStatusApi?: Function | undefined;
}> & {
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
}, {
showIcon: boolean;
}>>;
export { TaFollow };
export default TaFollow;
export * from './src/types';