featuregood first issuehelp wantedminor
Métricas do repositório
- Stars
- (746 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Current situation
Right now, when a Region has no Apps to render, it just remains empty.
It would be useful if we can pass some default Component to render in those cases.
Proposed API
import EmptyRegionContent from '../components/EmptyRegionContent';
<Region name="sidebar" empty={EmptyRegionContent} />
If the sidebar region is empty, it would render EmptyRegionContent component by default.