| Current Path : /snap/lxd/38450/share/lxd-ui/assets/ |
| Current File : //snap/lxd/38450/share/lxd-ui/assets/FormLink-3uUdaYvf.js |
import{j as n,d as s}from"./index-BsQN_SZU.js";const m=({linkText:a,title:e,onClick:c})=>{const r=n.jsx(n.Fragment,{children:n.jsxs(s.Button,{onClick:c,dense:!0,hasIcon:!0,appearance:"link",className:"p-heading--4",children:[n.jsx(s.Icon,{name:"chevron-left",className:"back-link-icon"}),a]})});return n.jsxs(n.Fragment,{children:[r," / ",e]})},x=({title:a,icon:e,onClick:c,subText:r,isModified:t,disabled:l,onHoverText:i})=>n.jsxs(s.Button,{appearance:"base",className:"form-link",onClick:c,type:"button",disabled:l,title:i,children:[n.jsxs("span",{className:"form-link__column",children:[n.jsx(s.Icon,{name:e,className:"form-link__icon"}),n.jsx("span",{className:"form-link__title",children:a})]}),n.jsxs("span",{className:"form-link__column u-align--right",children:[t&&n.jsx(s.Icon,{name:"status-in-progress-small"}),n.jsx("span",{className:"form-link__count u-text--muted",children:r}),n.jsx(s.Icon,{name:"chevron-right"})]})]});export{m as B,x as F};