[feat] use heroui + setup persistore + setup toast
todo: fix launchoption problem
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import clsx from "clsx"
|
||||
import { cn } from "@heroui/react"
|
||||
import type { ReactNode } from "react"
|
||||
|
||||
interface CardProps {
|
||||
@@ -28,7 +28,7 @@ const CardHeader = ({ children }: CardProps) => {
|
||||
const CardIcon = ({ children, type, className, ...rest }: CardProps) => {
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
className={cn(
|
||||
"flex gap-1.5 items-center font-semibold",
|
||||
type === "menu" &&
|
||||
"transition cursor-pointer hover:bg-black/5 px-2 py-1 rounded-md active:scale-95",
|
||||
|
||||
Reference in New Issue
Block a user