forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[added] Implements a generalized left-aligned version of tabs
as an option on tabs, via the position and tabWidth props. Signed-off-by: Dominick Reinhold <[email protected]>
- Loading branch information
Caroline Taymor
authored and
August Toman-Yih
committed
Aug 19, 2015
1 parent
e2c4c6a
commit 5f0ac64
Showing
6 changed files
with
324 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const tabsInstance = ( | ||
<Tabs defaultActiveKey={2} position='left' tabWidth={3}> | ||
<Tab eventKey={1} title='Tab 1'>Tab 1 content</Tab> | ||
<Tab eventKey={2} title='Tab 2'>Tab 2 content</Tab> | ||
<Tab eventKey={3} title='Tab 3' disabled>Tab 3 content</Tab> | ||
</Tabs> | ||
); | ||
|
||
React.render(tabsInstance, mountNode); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,7 +306,8 @@ const styleMaps = { | |
'menu-right', | ||
'menu-down', | ||
'menu-up' | ||
] | ||
], | ||
GRID_COLUMNS: 12 | ||
}; | ||
|
||
export default styleMaps; |
Oops, something went wrong.