wip fix
This commit is contained in:
parent
181fc21817
commit
66e57cd3dd
|
|
@ -27,6 +27,7 @@ export const EdPropCompTreeItem: FC<{
|
||||||
|
|
||||||
let type = "TXT";
|
let type = "TXT";
|
||||||
if (node.data?.prop.meta?.type === "option") type = "OPT";
|
if (node.data?.prop.meta?.type === "option") type = "OPT";
|
||||||
|
else if (node.data?.prop.meta?.type === "file") type = "FILE";
|
||||||
else if (node.data?.prop.meta?.type === "content-element") type = "JSX";
|
else if (node.data?.prop.meta?.type === "content-element") type = "JSX";
|
||||||
|
|
||||||
const plabel = node.data?.prop.label;
|
const plabel = node.data?.prop.label;
|
||||||
|
|
|
||||||
|
|
@ -303,6 +303,7 @@ const SingleProp: FC<{
|
||||||
(
|
(
|
||||||
{
|
{
|
||||||
option: "OPT",
|
option: "OPT",
|
||||||
|
file: "FILE",
|
||||||
text: "TXT",
|
text: "TXT",
|
||||||
"content-element": "JSX",
|
"content-element": "JSX",
|
||||||
} as any
|
} as any
|
||||||
|
|
@ -421,6 +422,7 @@ const SinglePopover: FC<{
|
||||||
{[
|
{[
|
||||||
{ label: "TXT", type: "text" },
|
{ label: "TXT", type: "text" },
|
||||||
{ label: "OPT", type: "option" },
|
{ label: "OPT", type: "option" },
|
||||||
|
{ label: "FILE", type: "file" },
|
||||||
{ label: "JSX", type: "content-element" },
|
{ label: "JSX", type: "content-element" },
|
||||||
].map((e) => {
|
].map((e) => {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue