import { useState } from "react" import { Card, CardContent, Button, Alert, AlertTitle, AlertDescription, Skeleton } from "@hm-design/ui" import { Heading } from "./Heading" export function StateWorkflow() { const [state, setState] = useState("loading") return <> setState("loading")}>로딩 setState("error")}>오류 setState("empty")}>빈 결과 {state === "loading" && } {state === "error" && 처리 실패다시 시도하세요. setState("empty")}>다시 시도} {state === "empty" && 등록된 항목이 없습니다.} > }
등록된 항목이 없습니다.