Introduce TabbedLayout for creating tabs that are routed

This commit is contained in:
Oliver Sand
2021-01-29 14:21:10 +01:00
parent 9b78fb4bb6
commit 54c7d02f7b
14 changed files with 294 additions and 83 deletions
+15
View File
@@ -0,0 +1,15 @@
---
'@backstage/core': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-explore': patch
---
Introduce `TabbedLayout` for creating tabs that are routed.
```typescript
<TabbedLayout>
<TabbedLayout.Route path="/example" title="Example tab">
<div>This is rendered under /example/anything-here route</div>
</TabbedLayout.Route>
</TabbedLayout>
```