12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- import NavTabs from 'sentry/components/navTabs';
- export default {
- title: 'Views/Tabs',
- component: NavTabs,
- };
- export const Default = () => {
- return (
- <NavTabs>
- <li className="active">
- <a href="#">link one</a>
- </li>
- <li>
- <a href="#">link two</a>
- </li>
- </NavTabs>
- );
- };
- Default.storyName = 'Default';
- export const Underlined = () => {
- return (
- <NavTabs underlined>
- <li className="active">
- <a href="#">link one</a>
- </li>
- <li>
- <a href="#">link two</a>
- </li>
- </NavTabs>
- );
- };
- Underlined.storyName = 'Underlined';
- Underlined.parameters = {
- docs: {
- description: {
- story: 'NavTabs with bottom border applied',
- },
- },
- };
|