import * as React from 'react';
import { Tab, TabView } from './TabView';
export default {
title: 'Atoms/Tab View',
argTypes: {
tabCount: { control: 'range', min: 1, max: 100 },
},
args: {
tabCount: 10,
},
};
export const ManyTabs = ({ tabCount }) => {
const tabs = [...'0'.repeat(tabCount)].map((_, i) => (
{() => (
<>
tab {i}
hello!!!!!
>
)}
));
return {tabs};
};