UNPKG

@workday/canvas-kit-docs

Version:

Documentation components of Canvas Kit components

7 lines (6 loc) 387 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { registerWidget, Value } from '../Value'; import { RenderContext } from '../widgetUtils'; registerWidget('array', ({ value }) => { return (_jsxs(RenderContext.Provider, { value: "inline", children: [_jsx(Value, { value: value.value }), _jsx("span", { className: "token punctuation", children: "[]" })] })); });