Renamed stories in PokemonTypes.stories.tsx to have correct story names
parent
03e973c68d
commit
c50862adbf
|
@ -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'],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue