()
| 392 | } |
| 393 | |
| 394 | function LoadingView() { |
| 395 | let {state} = useContext(ListViewContext)!; |
| 396 | let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/list'); |
| 397 | return ( |
| 398 | <CenteredWrapper> |
| 399 | <ProgressCircle |
| 400 | isIndeterminate |
| 401 | aria-label={ |
| 402 | state.collection.size > 0 |
| 403 | ? stringFormatter.format('loadingMore') |
| 404 | : stringFormatter.format('loading') |
| 405 | } |
| 406 | /> |
| 407 | </CenteredWrapper> |
| 408 | ); |
| 409 | } |
| 410 | |
| 411 | function EmptyState() { |
| 412 | let {renderEmptyState} = useContext(ListViewContext)!; |
nothing calls this directly
no test coverage detected