mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-30 13:51:42 +02:00
* 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
13 lines
347 B
TypeScript
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" />
|