motion-plus-vue
Version:
Motion Plus Vue
32 lines (31 loc) • 1.45 kB
TypeScript
import { MotionValue, motion } from 'motion-v';
interface Props {
offset: MotionValue<number>;
axis: 'x' | 'y';
listSize: number;
containerPaddingStart: number;
bounds: {
start: number;
end: number;
};
itemIndex?: number;
cloneIndex?: number;
}
declare const transform: MotionValue<number>;
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
declare var __VLS_6: {};
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
default?: (props: typeof __VLS_6) => any;
}>;
declare const __VLS_self: import('vue').DefineComponent<Props, {
motion: typeof motion;
transform: typeof transform;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};