()
| 2102 | describe('async loading', () => { |
| 2103 | let items = [{name: 'Foo'}, {name: 'Bar'}, {name: 'Baz'}]; |
| 2104 | let renderEmptyState = () => { |
| 2105 | return <div>empty state</div>; |
| 2106 | }; |
| 2107 | let AsyncMenu = (props: { |
| 2108 | items?: typeof items; |
| 2109 | isLoading?: boolean; |