import type { Meta, StoryObj } from '@storybook/react'; import { RBTable } from '../table.components'; import { searchableArgs } from '../../common/common.testdata'; import type { SimpleDataType } from '../../common/common.testdata'; import { RBTColumnDefs } from '../../common'; const meta = { title: 'react-bootstrap-table/Table', component: RBTable, tags: ['autodocs'], args: { ...searchableArgs, header: { enableTableHead: true, enableDensityToggle: true, }, }, } satisfies Meta>; export default meta; type Story = StoryObj; export const PrimaryVarient: Story = { args: { varient: 'primary', }, }; export const SecondaryVarient: Story = { args: { varient: 'secondary', }, }; export const SuccessVarient: Story = { args: { varient: 'success', }, }; export const WarningVarient: Story = { args: { varient: 'warning', }, }; export const DangerVarient: Story = { args: { varient: 'danger', }, }; export const InfoVarient: Story = { args: { varient: 'info', }, }; export const LightVarient: Story = { args: { varient: 'light', }, }; export const DarkVarient: Story = { args: { varient: 'dark', }, }; export const LinkVarient: Story = { args: { varient: 'link', }, };