mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 17:54:53 +01:00
15 lines
352 B
TypeScript
15 lines
352 B
TypeScript
import React from 'react'
|
|
import Loader from './Loader'
|
|
import { Center } from '../../../.storybook/helpers'
|
|
|
|
export default {
|
|
title: 'Atoms/Loader',
|
|
decorators: [(storyFn: any) => <Center>{storyFn()}</Center>]
|
|
}
|
|
|
|
export const Normal = () => <Loader />
|
|
|
|
export const WithMessage = () => (
|
|
<Loader message="Crunching all the tech for you..." />
|
|
)
|