MCPcopy Create free account
hub / github.com/adobe/react-spectrum / renderEmptyState

Function renderEmptyState

packages/react-aria-components/test/Menu.test.tsx:2104–2106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

AsyncMenuFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected