| 3 | import loadable from '@loadable/component'; |
| 4 | |
| 5 | interface TableQueryProp { |
| 6 | query: Record<string, any> |
| 7 | config: QueryConfig |
| 8 | eventMap?: Record<string, Function> |
| 9 | setQuery: (query: any) => void |
| 10 | } |
| 11 | const ItemComponent = loadable((props: {is: string}) => import(`./item/${props.is}.tsx`), { |
| 12 | fallback: <div>Loading...</div>, |
| 13 | cacheKey: props => props.is |
nothing calls this directly
no outgoing calls
no test coverage detected