1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-30 13:51:42 +02:00
market/src/components/atoms/Tags.stories.tsx
2020-05-07 09:03:30 +03:00

19 lines
443 B
TypeScript

import React from 'react'
import Tags from './Tags'
const items = ['tag1', 'tag2', 'tag3', 'tag4', 'tag5', 'tag6']
export default {
title: 'Atoms/Tags'
}
export const Default = () => <Tags items={items} />
export const DefaultNoLinks = () => <Tags items={items} noLinks />
export const WithMaxItemsEq3 = () => <Tags items={items} max={3} />
export const WithMaxItemsEq3AndShowMore = () => (
<Tags items={items} max={3} showMore />
)