Renamed stories in PokemonTypes.stories.tsx to have correct story names

develop
Jason Zhu 2023-05-15 21:20:18 +10:00
parent 03e973c68d
commit c50862adbf
1 changed files with 8 additions and 4 deletions

View File

@ -10,25 +10,29 @@ const meta: Meta<typeof PokemonTypes> = {
export default meta; export default meta;
type Story = StoryObj<typeof PokemonTypes>; type Story = StoryObj<typeof PokemonTypes>;
export const charmander: Story = { export const fireOnly: Story = {
name: 'Fire only',
args: { args: {
types: ['fire'], types: ['fire'],
}, },
}; };
export const bulbasaur: Story = { export const grassAndPoinson: Story = {
name: 'Grass and Poison',
args: { args: {
types: ['grass', 'poison'], types: ['grass', 'poison'],
}, },
}; };
export const charizard: Story = { export const fireAndFlying: Story = {
name: 'Fire and Flying',
args: { args: {
types: ['fire', 'flying'], types: ['fire', 'flying'],
}, },
}; };
export const threetypes: Story = { export const threeTypes: Story = {
name: 'Fire, Flying and Grass',
args: { args: {
types: ['fire', 'flying', 'grass'], types: ['fire', 'flying', 'grass'],
}, },