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

Function renderEmptyState

packages/dev/s2-docs/pages/s2/PokemonTreeView.tsx:93–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91///- end collapse -///
92
93function renderEmptyState(): ReactElement {
94 return (
95 <IllustratedMessage>
96 <FolderOpen />
97 <Heading>No results.</Heading>
98 <Content>Drop items here.</Content>
99 </IllustratedMessage>
100 );
101}
102
103export function PokemonTreeView(props: PokemonTreeViewProps) {
104 let {items = defaultItems, dragAndDropHooks} = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected