Skip to content

Commit

Permalink
Update TagCloud stories #32
Browse files Browse the repository at this point in the history
  • Loading branch information
divyanshu013 committed Dec 28, 2017
1 parent 778950a commit 1bd2fc0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions stories/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1391,10 +1391,10 @@ storiesOf("Base components/TagCloud", module)
))
)
.add(
"Without showCount",
"With showCount",
withReadme(removeFirstLine(TagCloudReadme), () => (
<TagCloudDefault
showCount={boolean("showCount", false)}
showCount={boolean("showCount", true)}
showFilter={false}
/>
))
Expand Down Expand Up @@ -1441,6 +1441,12 @@ storiesOf("Base components/TagCloud", module)
<TagCloudDefault defaultSelected={text("defaultSelected", "Auckland")} />
))
)
.add(
"With sortBy",
withReadme(removeFirstLine(TagCloudReadme), () => (
<TagCloudDefault showFilter={false} sortBy={select("sortBy", ["count", "asc", "desc"], "count")} />
))
)
.add(
"With URLParams",
withReadme(removeFirstLine(TagCloudReadme), () => (
Expand Down

0 comments on commit 1bd2fc0

Please # to comment.