This component extends material-ui tabs compoent. we've done this to make it more easier for you to use our styles.
You will find the styles for this component in
styles/jss/nextjs-material-kit-pro/components/navPillsStyle.js
.
You can see more example in Panels view.
Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits.
Dramatically visualize customer directed convergence without revolutionary ROI. Collaboratively administrate empowered markets via plug-and-play networks. Dynamically procrastinate B2C users after installed base benefits.
This is very nice.
import React from 'react';
// core components
import NavPills from "components/NavPills/NavPills.js";
function Example(){
return (
<NavPills
color="warning"
tabs={[
{
tabButton: "Profile",
tabContent: (
<span>
<p>
Collaboratively administrate empowered markets via
plug-and-play networks. Dynamically procrastinate
B2C users after installed base benefits.
</p>
<br />
<p>
Dramatically visualize customer directed convergence
without revolutionary ROI. Collaboratively
administrate empowered markets via plug-and-play
networks. Dynamically procrastinate B2C users after
installed base benefits.
</p>
<br />
<p>This is very nice.</p>
</span>
)
},
{
tabButton: "Settings",
tabContent: (
<span>
<p>
Efficiently unleash cross-media information without
cross-media value. Quickly maximize timely
deliverables for real-time schemas.
</p>
<br />
<p>
Dramatically maintain clicks-and-mortar solutions
without functional solutions.
</p>
</span>
)
},
{
tabButton: "Options",
tabContent: (
<span>
<p>
Completely synergize resource taxing relationships
via premier niche markets. Professionally cultivate
one-to-one customer service with robust ideas.{" "}
</p>
<br />
<p>
Dynamically innovate resource-leveling customer
service for state of the art customer service.
</p>
</span>
)
}
]}
/>
);
}
export default Example;
NavPills.defaultProps = {
active: 0,
color: "primary"
};
NavPills.propTypes = {
// index of the default active pill
active: PropTypes.number,
tabs: PropTypes.arrayOf(
PropTypes.shape({
tabButton: PropTypes.string,
tabIcon: PropTypes.func,
tabContent: PropTypes.node
})
).isRequired,
color: PropTypes.oneOf([
"primary",
"warning",
"danger",
"success",
"info",
"rose"
]),
direction: PropTypes.string,
horizontal: PropTypes.shape({
tabsGrid: PropTypes.object,
contentGrid: PropTypes.object
}),
alignCenter: PropTypes.bool
};