()
| 4 | import { PropertiesString } from "./PropertiesString"; |
| 5 | |
| 6 | export function PropertiesValue() { |
| 7 | const info = useSelectedInfo(); |
| 8 | |
| 9 | if (!info) { |
| 10 | return <></>; |
| 11 | } |
| 12 | |
| 13 | switch (info.name) { |
| 14 | case "float": |
| 15 | return <PropertiesFloat type={info} />; |
| 16 | case "int": |
| 17 | return <PropertiesInt type={info} />; |
| 18 | case "string": |
| 19 | return <PropertiesString type={info} />; |
| 20 | default: |
| 21 | return <></>; |
| 22 | } |
| 23 | } |
nothing calls this directly
no test coverage detected