import React from 'react' import { type Meta } from '@storybook/react-vite' import { hasStickyColumnStyle } from '../../services/HelperServiceTyped' import { DocsTemplate } from '../../../.storybook' import { type HasStickyColumnStyleProps } from '../../services/HelperServiceTyped' export const Example = (args: HasStickyColumnStyleProps): React.JSX.Element => { return <>{hasStickyColumnStyle(args)} } Example.storyName = 'hasStickyColumnStyle' Example.args = { colIndex: 1, tableHeadersLength: 10, stickyLeftColumn: 1, } export default { title: 'Helper Functions/hasStickyColumnStyle', component: Example, parameters: { viewMode: 'docs', previewTabs: { canvas: { hidden: true }, }, docs: { page: () => ( <> The string that is printed for the className will correspond to predefined styles. , ]} /> ), }, }, } as Meta