oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
34 lines (33 loc) • 1.46 kB
TypeScript
import { OuiSegmentedOptions } 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;
} & {
title?: string;
description?: string;
required?: boolean;
id?: string;
options: OuiSegmentedOptions<K>;
placeholder?: string;
disabled?: boolean;
error?: boolean;
size?: "md" | "lg" | "xl";
}) & Partial<{}>> & import('vue').PublicProps;
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
attrs: any;
slots: Partial<Record<`option-${string}`, (_: {
option: import('./_types').OuiSliderOption<K>;
}) => any>> & {
title?(_: {}): any;
description?(_: {}): 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];
} & {};