diff --git a/client/src/components/atoms/PresetOption.tsx b/client/src/components/atoms/PresetOption.tsx index d0394418..412712e5 100644 --- a/client/src/components/atoms/PresetOption.tsx +++ b/client/src/components/atoms/PresetOption.tsx @@ -1,7 +1,16 @@ import React from "react"; -import { BorderedBox } from "./BorderedBox"; -import { Text } from "./Text"; -import { Box } from "./Box"; +import { + bg, + round, + row, + justify, + padding, + text, + w, + h, + align, + border, +} from "@/styles"; interface Tag { id: number; @@ -15,32 +24,31 @@ interface Props { } export const PresetOption: React.FC = ({ tag, selected }) => ( - - - - {tag.title} - - - - +

{tag.title}

+ +

{tag.description} - - +

+ ); diff --git a/client/src/components/atoms/TagSelect.tsx b/client/src/components/atoms/TagSelect.tsx index 417c8188..42b837c7 100644 --- a/client/src/components/atoms/TagSelect.tsx +++ b/client/src/components/atoms/TagSelect.tsx @@ -24,12 +24,11 @@ import { text, w, h, + align, } from "@/styles"; import { PositionedDownArrowIcon } from "./Label"; import { PresetOption } from "./PresetOption"; -import { BorderedBox } from "./BorderedBox"; -import { Text } from "./Text"; interface Props { tags: Tag[]; @@ -42,6 +41,9 @@ interface Tag { description: string; } +const cursorPointer = css` + cursor: pointer; +`; const boxShadow = css` box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.06); `; @@ -95,23 +97,21 @@ const MultiValueContainer = (props: MultiValueGenericProps) => { const { data } = props; return ( - - - {data.title} - +

{data.title}

-
+
); }; @@ -123,6 +123,7 @@ const MultiValueRemove = (props: MultiValueRemoveProps) => ( export const TagSelect: React.FC = ({ tags, onChange }) => (