Komponen Kasus Sakelar Reaksi TypeScript
render() {
return (
<>
{
{
foo: <Foo />,
bar: <Bar />
}[param]
}
</>
)
}
Smiling Sheep