import{t as e}from"./jsx-runtime-DLhMyTcm.js";import{s as t}from"./table-CCNPbiUy.js";var n=e();function r({trigger:e}){return(0,n.jsx)(t,{variant:`outline`,children:(e=>{switch(e.kind){case`manual`:return`Manual`;case`webhook`:return`Webhook: ${e.path}`;case`cron`:return`Cron: ${e.schedule}`;case`api`:return`API`;case`retry`:return`Retry: ${e.parent_run_id}`;case`workflow`:return`Workflow`;default:return e}})(e)})}export{r as t};