oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
32 lines (31 loc) • 1.41 kB
TypeScript
import { OuiSliderOption } from './_types';
declare const _default: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly "onUpdate:modelValue"?: ((value: K) => any) | undefined;
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
modelValue?: K;
} & {
options: OuiSliderOption<K>[];
className?: string;
sliderClass?: string;
}) & Partial<{}>> & import('vue').PublicProps;
expose(exposed: import('vue').ShallowUnwrapRef<{
updateActiveItemRef: (animated?: boolean) => Promise<void>;
}>): void;
attrs: any;
slots: {
default?(_: {
options: OuiSliderOption<K>[];
modelValue: K | undefined;
activeOption: OuiSliderOption<K> | undefined;
updateModelValue: (value: K) => K;
}): any;
};
emit: (evt: "update:modelValue", value: K) => void;
}>) => import('vue').VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T]: T[K];
} & {};