9 lines
No EOL
182 B
JavaScript
9 lines
No EOL
182 B
JavaScript
function componentA(props) {
|
|
let t = `hello ${props.a}, ${props.b}!`;
|
|
t += ``;
|
|
return t;
|
|
}
|
|
function componentB(props) {
|
|
let x = `hello ${props.a}` |> useFoo(%);
|
|
return x;
|
|
} |