From 7d5963d77658e17a8f366d7035acbc1b08bab47d Mon Sep 17 00:00:00 2001 From: Andre H Date: Wed, 21 Feb 2024 15:44:21 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20add=20input=20to=20page?= =?UTF-8?q?/components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/pages/components/index.tsx | 56 ++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/components/index.tsx b/packages/frontend/src/pages/components/index.tsx index 456f433e..8cf092d5 100644 --- a/packages/frontend/src/pages/components/index.tsx +++ b/packages/frontend/src/pages/components/index.tsx @@ -3,7 +3,8 @@ 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 { PlusIcon } from 'components/shared/CustomIcon'; +import { SearchIcon, CrossIcon, PlusIcon } from 'components/shared/CustomIcon'; +import { Input } from 'components/shared/Input'; import React, { useState } from 'react'; import { Value } from 'react-calendar/dist/cjs/shared/types'; @@ -53,6 +54,59 @@ const Page = () => { {/* Insert Components here */}
+

Input

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

Button

{['primary', 'secondary', 'tertiary', 'danger'].map(