@workday/canvas-kit-docs
Version:
Documentation components of Canvas Kit components
6 lines (5 loc) • 375 B
JavaScript
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { registerWidget, Value } from '../Value';
registerWidget('qualifiedName', ({ value }) => {
return (_jsxs(_Fragment, { children: [_jsx(Value, { value: value.left }), _jsx("span", { className: "token punctuation", children: "." }), _jsx(Value, { value: value.right })] }));
});