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;
type Story = StoryObj<typeof PokemonTypes>;
export const charmander: Story = {
export const fireOnly: Story = {
name: 'Fire only',
args: {
types: ['fire'],
},
};
export const bulbasaur: Story = {
export const grassAndPoinson: Story = {
name: 'Grass and Poison',
args: {
types: ['grass', 'poison'],
},
};
export const charizard: Story = {
export const fireAndFlying: Story = {
name: 'Fire and Flying',
args: {
types: ['fire', 'flying'],
},
};
export const threetypes: Story = {
export const threeTypes: Story = {
name: 'Fire, Flying and Grass',
args: {
types: ['fire', 'flying', 'grass'],
},