wip fix
This commit is contained in:
parent
78131ad081
commit
e257f95838
|
|
@ -80,7 +80,7 @@ effect={async (local) => {
|
|||
`\
|
||||
<>{true && <div {...props}>{children}</div>}</>
|
||||
`,
|
||||
false
|
||||
true
|
||||
);
|
||||
}}
|
||||
>
|
||||
|
|
@ -104,7 +104,7 @@ true ? (
|
|||
}
|
||||
</>
|
||||
`,
|
||||
false
|
||||
true
|
||||
);
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
import trim from "lodash.trim";
|
||||
import { isValidElement } from "react";
|
||||
|
||||
export const extractProp = (prop: {
|
||||
values: Record<string, any>;
|
||||
types: Record<string, string>;
|
||||
}) => {
|
||||
export const extractProp = (prop: { values: Record<string, any> }) => {
|
||||
const propTypes: string[] = [];
|
||||
const props: Record<string, { val?: any; type?: string }> = {};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue