File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/components/groupComponents Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class Group extends Component {
9292 let content = this . getContent ( ) ;
9393
9494 if ( layout . type == 'tabs' ) {
95- return < TabsForm title = { layout . title } content = { content } /> ;
95+ return < TabsForm layout = { layout } content = { content } /> ;
9696 }
9797
9898 return < NormalForm title = { layout . title } content = { content } />
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ export default class Tabs extends Component {
2828 < Header title = { layout . title } />
2929 < Nav bsStyle = "tabs" onSelect = { this . handleSelect } >
3030 {
31- layout . groups . map ( ( item , index ) => (
31+ layout . groups . map ( ( { title } , index ) => (
3232 < NavItem eventKey = { index } >
33- { item . title }
33+ { title }
3434 </ NavItem >
3535 ) )
3636 }
You can’t perform that action at this time.
0 commit comments