({
icon,
className = "size-3.5",
}: {
icon: ProjectScriptIcon;
className?: string;
})
| 70 | ]; |
| 71 | |
| 72 | function ScriptIcon({ |
| 73 | icon, |
| 74 | className = "size-3.5", |
| 75 | }: { |
| 76 | icon: ProjectScriptIcon; |
| 77 | className?: string; |
| 78 | }) { |
| 79 | if (icon === "test") return <FlaskConicalIcon className={className} />; |
| 80 | if (icon === "lint") return <ListChecksIcon className={className} />; |
| 81 | if (icon === "configure") return <WrenchIcon className={className} />; |
| 82 | if (icon === "build") return <HammerIcon className={className} />; |
| 83 | if (icon === "debug") return <BugIcon className={className} />; |
| 84 | return <PlayIcon className={className} />; |
| 85 | } |
| 86 | |
| 87 | export interface NewProjectScriptInput { |
| 88 | name: string; |
nothing calls this directly
no outgoing calls
no test coverage detected