function Component(props) {
const a = [props.a];
let x = props.b;
switch (a) {
case true: {
x = props.c;
}
}
return x;
}
function Component(props) {
const a = [props.a];
let x = props.b;
switch (a) {
case true: {
x = props.c;
}
}
return x;
}