nx/graph/ui-project-details/src/lib/target-executor/target-executor-title.stories.tsx
Colum Ferry e73a1411a0
feat(storybook)!: support storybook 9 (#31172)
## Current Behavior
We currently do not have support for Storybook 9, nor any migrations to
help users switch to it.


## Expected Behavior
Support Storybook 9 and add a migration for users to switch to v9

BREAKING CHANGE: Remove deprecated generators:
`@nx/storybook:cypress-project`,
`@nx/react-native:storybook-configuration`, `@nx/react-native:stories`,
`@nx/react-native:component-story`
2025-06-06 12:51:47 -04:00

33 lines
654 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react-webpack5';
import { TargetExecutorTitle } from './target-executor-title';
const meta: Meta<typeof TargetExecutorTitle> = {
component: TargetExecutorTitle,
title: 'TargetExecutorTitle',
};
export default meta;
type Story = StoryObj<typeof TargetExecutorTitle>;
export const Command: Story = {
args: {
command: 'nx run my-app:build',
},
};
export const Commands: Story = {
args: {
commands: ['nx run my-app:build', 'nx run my-app:test'],
},
};
export const Script: Story = {
args: {
script: 'nx run my-app:build',
},
};
export const Executor: Story = {
args: {},
};