Product: PowerShell Universal
Version: 5.4.3
When using New-UDExpansionPanel, I get a large log output of the JSON structure for the element. It seems to be caused by this in the expansion-panel.jsx
:
function AccordionGroup(props) {
const classes = useStyles();
var children = props.children;
if (!Array.isArray(children)) {
children = [children];
}
const [expanded, setExpanded] = React.useState(children.filter(x => x.active).map(m => m.id));
const { accordion } = props;
console.log(expanded)
// ...
}
Is this intended? If not I will refactor to a bug report.