diff --git a/apps/dashboard/src/core-ui/batch-upload/lazy-mint-form/select-option.tsx b/apps/dashboard/src/core-ui/batch-upload/lazy-mint-form/select-option.tsx index 5eb8f1e6699..fe89f4c366d 100644 --- a/apps/dashboard/src/core-ui/batch-upload/lazy-mint-form/select-option.tsx +++ b/apps/dashboard/src/core-ui/batch-upload/lazy-mint-form/select-option.tsx @@ -1,10 +1,10 @@ +import { Card } from "@/components/ui/card"; +import { ToolTipLabel } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; -import { Flex, Radio, Tooltip } from "@chakra-ui/react"; import { InfoIcon } from "lucide-react"; import type { JSX, MouseEventHandler } from "react"; -import { Card, Heading, Text } from "tw-components"; -interface SelectOptionProps { +interface SelectOptionProps extends React.HTMLAttributes { name: string; description?: string; isActive?: boolean; @@ -24,84 +24,62 @@ export const SelectOption: React.FC = ({ disabledText, infoText, className, - ...stackProps + ...divProps }) => { return ( - - {disabledText} + disabled ? ( + +

{disabledText}

- ) + ) : undefined } - bg="transparent" - boxShadow="none" - p={0} - shouldWrapChildren > - -
- +
+
+
+ {isActive &&
} +
- {name} - - {description && ( - - {description} - - )} + + {description &&

{description}

}
{infoText && ( -
- - {infoText} - - } - > - - - - -
+ +

{infoText}

+ + } + > +
+ +
+
)} - +
- + ); };