/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import type { ComponentStory } from '@storybook/react' import { TableCommands } from '../../../TableCommands/TableCommands.js' import { ArqueroTableHeader } from '../../ArqueroTableHeader.js' import type { ArqueroTableHeaderProps } from '../../ArqueroTableHeader.types.js' import { useParameters } from './TableCommands.hooks.js' export const TableCommandsStory: ComponentStory = ( args: ArqueroTableHeaderProps, { loaded: { companies, products } }: any, ) => { const { workflow } = useParameters([companies, products]) // this is an adjustment for the custom height story const height = args?.styles?.root?.height as number return ( } /> ) }