Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
South-Paw committed Feb 21, 2021
1 parent 148807f commit 197b5a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Badge/Badge.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Meta, Story } from '@storybook/react';
import * as React from 'react';
import { uid } from 'react-uid';
import { Badge, BadgeColors, BadgeProps, BadgeVariants, Flex, Avatar, Box, Text } from '..';
import { Avatar, Badge, BadgeColors, BadgeProps, BadgeVariants, Box, Flex, Text } from '..';

const badgeColors: BadgeColors[] = [
'blueGray',
Expand Down Expand Up @@ -70,7 +70,7 @@ export const Colors: Story<BadgeProps> = (props) => (
</table>
);

export const Composition: Story<BadgeProps> = (props) => (
export const Composition: Story<BadgeProps> = () => (
<Flex>
<Avatar src="https://upload.wikimedia.org/wikipedia/en/d/dc/MichaelScott.png" />
<Box ml="3">
Expand All @@ -85,7 +85,7 @@ export const Composition: Story<BadgeProps> = (props) => (
</Flex>
);

export const FontSize: Story<BadgeProps> = (props) => (
export const FontSize: Story<BadgeProps> = () => (
<Text fontSize="xl" fontWeight="bold">
Michael Scott
<Badge color="purple" sx={{ ml: 1, fontSize: '0.8em' }}>
Expand Down

0 comments on commit 197b5a5

Please sign in to comment.