smart-webcomponents
smart-webcomponents copied to clipboard
DockingLayout能否支持jsx传递
目前用起来感觉不太方便,自己封装了自定义的Vue组件后,如果可以直接在content传入jsx就好了,但是目前必须传入HTML字符串
{
type: "LayoutGroup",
orientation: "horizontal",
items: [
{
type: "LayoutGroup",
items: [
{
type: "LayoutPanel",
id: "tabPanel",
label: "Input",
items: [
{
label: "TextBox Tab",
content:
'<smart-multiline-text-box id="multiLine">Write more text here ...</smart-multiline-text-box>',
},
{
label: "Slider Tab",
content: <CustomComponent />,
},
],
},
],
orientation: "vertical",
}
],
},
];```