dash icon indicating copy to clipboard operation
dash copied to clipboard

[BUG] No rendering if two component as props inside a dictionary.

Open T4rk1n opened this issue 3 years ago • 0 comments

When defining props on component, if you have two props that can be components inside a list of dictionaries, the components are not rendered and a react error indicate objects are invalid.

Example props:

type Props = {
   fields: {
      label?: JSX.Element;
      input_component?: JSX.Element;
   }[];
}

T4rk1n avatar Jul 13 '22 15:07 T4rk1n