From 3c14c78d5be4f67b0b218f21cae7cb59c7412b8d Mon Sep 17 00:00:00 2001 From: Roman Semenov Date: Fri, 8 Nov 2024 14:35:00 +0400 Subject: [PATCH] remove --- .../react-storybook/stories/Pager.stories.tsx | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 apps/react-storybook/stories/Pager.stories.tsx diff --git a/apps/react-storybook/stories/Pager.stories.tsx b/apps/react-storybook/stories/Pager.stories.tsx deleted file mode 100644 index b0d9ba276d0e..000000000000 --- a/apps/react-storybook/stories/Pager.stories.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import React, { useState, useRef, useEffect } from "react"; -import type { Meta, StoryObj } from "@storybook/react"; - -import dxPager from "devextreme/ui/pager"; -import { wrapDxWithReact } from "./utils"; - -interface Props { - pageSize?: number; - pageIndex?: number; - totalCount?: number; - displayMode?: 'adaptive' | 'compact' | 'full'; -} - -const Pager = wrapDxWithReact(dxPager); - -const meta: Meta = { - title: "Components/Pager", - component: Pager, - argTypes: { - displayMode: { - options: ['adaptive', 'compact', 'full'], - control: { type: 'radio' } - } - } -}; - -export default meta; - -type Story = StoryObj; - -export const DefaultMode: Story = { - args: { - pageIndex: 0, - pageSize: 10, - totalCount: 100, - displayMode: 'adaptive', - }, -};