1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-30 13:51:42 +02:00
market/src/components/molecules/SearchBar.stories.tsx
mihaisc 3798d80a4d
Global search bar (#690)
* move search bar

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* update search bar

Signed-off-by: mihaisc <mihai@oceanprotocol.com>

* add enter event

Signed-off-by: mihaisc <mihai@oceanprotocol.com>

* fix lint

* small button fixes

* add padding, change media width to rem

* remove comments
2021-07-06 04:55:10 -07:00

13 lines
347 B
TypeScript

import React from 'react'
import SearchBar from './SearchBar'
import { Center } from '../../../.storybook/helpers'
export default {
title: 'Molecules/SearchBar',
decorators: [(storyFn: any) => <Center>{storyFn()}</Center>]
}
export const Normal = () => <SearchBar />
export const WithInitialValue = () => <SearchBar initialValue="Water" />