import React from 'react' import { type Meta } from '@storybook/react-vite' import { statColors } from '../../services/GraphHelperServiceTyped' import { DocsTemplate } from '../../../.storybook' export const Example = (): React.JSX.Element => { const result = statColors() return ( <>
{JSON.stringify(result, null, 2)}
) } Example.storyName = 'statColors' export default { title: 'Helper Functions/statColors', component: Example, parameters: { viewMode: 'docs', previewTabs: { canvas: { hidden: true }, }, docs: { page: () => ( <> statColors is used to retrieve predefined color mappings for graph statuses like success, error, and standard. , Returns an object with three properties: , Note: The colors are defined as CSS variables for consistent theming. , ]} /> ), }, }, } as Meta