import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { ExternalHyperlink } from '@workday/canvas-kit-react/button';
import { registerWidget } from '../Value';
import { renderTypeParameters } from '../widgetUtils';
registerWidget('external', ({ value }) => (_jsxs(_Fragment, { children: [_jsx(ExternalHyperlink, { href: value.url, iconLabel: "Open link in new window", children: value.name }), renderTypeParameters(value.typeParameters)] })));
