"use client"; import React from "react"; import { FlowWidget } from "@/components/screen/widgets/FlowWidget"; import { FlowComponent } from "@/types/screen-management"; /** * 플로우 위젯 테스트 페이지 * 문서 승인 플로우 (ID: 8)를 테스트합니다 */ export default function TestFlowPage() { // 문서 승인 플로우 const documentFlow: FlowComponent = { id: "test-flow-1", type: "flow", flowId: 8, // 문서 승인 플로우 flowName: "문서 승인 플로우", showStepCount: true, allowDataMove: true, displayMode: "horizontal", position: { x: 0, y: 0 }, size: { width: 1200, height: 600 }, style: {}, }; // 작업 요청 워크플로우 const workRequestFlow: FlowComponent = { id: "test-flow-2", type: "flow", flowId: 12, // 작업 요청 워크플로우 flowName: "작업 요청 워크플로우", showStepCount: true, allowDataMove: true, displayMode: "horizontal", position: { x: 0, y: 0 }, size: { width: 1200, height: 600 }, style: {}, }; return (
두 가지 플로우를 테스트할 수 있습니다