By default, Bootstrap-react's tabs align to the left.
<Tabs defaultActiveKey={2} id="uncontrolled-tab-example">
<Tab eventKey={1} title="Tab 1">
Tab 1 content
</Tab>
<Tab eventKey={2} title="Tab 2">
Tab 2 content
</Tab>
</Tabs>;
To align the tabs to the right, you can use the pullRight
prop.
<Tabs pullRight defaultActiveKey={2} id="uncontrolled-tab-example">
Is there a simple way to center the tabs? If not, how would you go about centering them?