UNPKG

fui-fancyui

Version:
130 lines (129 loc) 3.15 kB
import { StoryObj } from '@storybook/react'; import { FancyVirtualScroll } from '..'; declare const meta: { component: typeof FancyVirtualScroll; title: string; parameters: { docs: { description: { component: string; }; }; }; argTypes: { preRenderCount: { description: string; type: { name: "number"; required: false; }; control: { type: "number"; }; table: { defaultValue: { summary: string; }; }; }; containerHeight: { description: string; type: { name: "string"; required: false; }; control: { type: "text"; }; table: { defaultValue: { summary: string; }; }; }; itemHeight: { description: string; type: { name: "number"; required: false; }; control: { type: "number"; }; table: { defaultValue: { summary: string; }; }; }; itemGap: { description: string; type: { name: "number"; required: false; }; control: { type: "number"; }; table: { defaultValue: { summary: string; }; }; }; firstItemIndexInView: { description: string; type: { name: "number"; required: false; }; control: { type: "number"; }; table: { defaultValue: { summary: string; }; }; }; scrollSnap: { description: string; type: { name: "string"; required: false; }; control: { type: "select"; options: (string | undefined)[]; }; table: { defaultValue: { summary: string; }; }; }; onScrollingStateChange: { type: { name: "function"; required: false; }; description: string; }; currentFirstItemsInViewHandler: { type: { name: "function"; required: false; }; description: string; }; attributesContainer: { description: string; }; attributesItems: { description: string; }; }; }; export default meta; type Story = StoryObj<typeof meta>; export declare const Primary: Story;