diff --git a/packages/frontend/src/pages/components/index.tsx b/packages/frontend/src/pages/components/index.tsx index 1a76f3af..dcd8941a 100644 --- a/packages/frontend/src/pages/components/index.tsx +++ b/packages/frontend/src/pages/components/index.tsx @@ -1,11 +1,5 @@ import React, { useState } from 'react'; -import { Avatar, AvatarVariants } from 'components/shared/Avatar'; -import { Badge, BadgeProps } from 'components/shared/Badge'; -import { Button, ButtonOrLinkProps } from 'components/shared/Button'; import { Calendar } from 'components/shared/Calendar'; -import { Checkbox } from 'components/shared/Checkbox'; -import { SearchIcon, CrossIcon, PlusIcon } from 'components/shared/CustomIcon'; -import { Input } from 'components/shared/Input'; import { Value } from 'react-calendar/dist/cjs/shared/types'; import { renderCheckbox, @@ -19,6 +13,7 @@ import { renderTabs, renderVerticalTabs, } from './renders/tabs'; +import { renderInputs } from './renders/input'; const Page = () => { const [singleDate, setSingleDate] = useState(); @@ -40,55 +35,7 @@ const Page = () => { {/* Button */}

Input

-
-
- } - rightIcon={} - placeholder="Placeholder text" - /> - - -
-
- } - rightIcon={} - description="Additional information or context" - placeholder="Placeholder text" - size="sm" - /> - - -
-
+
{renderInputs()}