Skip to content

Commit

Permalink
fix: delete story test
Browse files Browse the repository at this point in the history
  • Loading branch information
shandamengcheng committed Dec 12, 2022
1 parent 82edd74 commit 8689daf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/statistic/stories/countdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const Template: Story<CountDownProps> = (args) => {
return (
<Space size={"large"}>
<Countdown {...args} />
<Countdown {...args} title="Milliseconds" format="HH:mm:ss.SSS" />
</Space>
)
}
Expand Down
10 changes: 7 additions & 3 deletions packages/statistic/stories/statistic.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, Story } from "@storybook/react"
import { Statistic, StatisticProps } from "../src"
import { Space, ImageDefaultIcon, UpIcon } from "@illa-design/react"
import { Space, ImageDefaultIcon } from "@illa-design/react"

export default {
title: "DATA DISPLAY/Statistic",
Expand All @@ -11,15 +11,19 @@ const Template: Story<StatisticProps> = (args) => {
return (
<Space size={"large"}>
<Statistic {...args} />
<Statistic {...args} title={<ImageDefaultIcon />} suffix={<UpIcon />} />
<Statistic
{...args}
title={<ImageDefaultIcon />}
suffix={<ImageDefaultIcon />}
/>
</Space>
)
}

export const Basic = Template.bind({})
Basic.args = {
title: "Amount",
value: 12345,
value: 0,
prefix: "",
suffix: "",
}

0 comments on commit 8689daf

Please sign in to comment.