import{f as c,j as t,d as e}from"./index-Cziemgsu.js";const i=({image:a,project:n})=>{const o=c(),s=()=>{o(`/ui/project/${n}/instances/create`,{state:{selectedImage:a,cancelLocation:window.location.pathname}})};return t.jsx(e.Button,{appearance:"base",onClick:s,type:"button",title:"Create instance",hasIcon:!0,children:t.jsx(e.Icon,{name:"play"})})};export{i as C};
