sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
30 lines (29 loc) • 1.35 kB
TypeScript
import { type SegmentedProps, type SegmentedSlots } from './common';
declare function __VLS_template(): Readonly<SegmentedSlots> & SegmentedSlots;
declare const __VLS_component: import("vue").DefineComponent<SegmentedProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:model-value": (value: any) => any;
change: (value: any) => any;
}, string, import("vue").PublicProps, Readonly<SegmentedProps> & Readonly<{
"onUpdate:model-value"?: ((value: any) => any) | undefined;
onChange?: ((value: any) => any) | undefined;
}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
modelValue: any;
size: import("./common").SegmentedSize;
disabled: boolean;
shape: "square" | "round";
direction: "horizontal" | "vertical";
readonly: boolean;
validateEvent: boolean;
options: import("./common").SegmentedOption[];
optionKeys: import("../../use").OptionKeys;
ellipsis: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};