mirror of
https://github.com/status-im/dappconnect-sdks.git
synced 2025-01-19 13:12:57 +00:00
8a47bb4b02
* feat: add chart to website WIP * fix: minor improvements * feat: add animation to areas on load * feat: adds animation to rest of the chart elements * feat: refact chart component * feat: add loading state to chart component * feat: add empty state and fixed some issues * Set up website deployment (#391) * env * vercel.json * turbo * u * root * cwd * use cwd option (#393) * fix: remove border width from progress bar * fix: changes from review * fix: removes spacing with first tick in X Axis component * update assertion --------- Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com> Co-authored-by: Pavel Prichodko <14926950+prichodko@users.noreply.github.com>
35 lines
617 B
TypeScript
35 lines
617 B
TypeScript
import React from 'react'
|
|
import type { Preview } from '@storybook/react'
|
|
|
|
import { Provider, ToastContainer } from '../src'
|
|
|
|
import './reset.css'
|
|
|
|
// export const parameters: Parameters = {
|
|
// actions: { argTypesRegex: '^on[A-Z].*' },
|
|
// controls: {
|
|
// matchers: {
|
|
// color: /(background|color)$/i,
|
|
// date: /Date$/,
|
|
// },
|
|
// },
|
|
// }
|
|
|
|
const preview: Preview = {
|
|
parameters: {
|
|
// layout: 'centered',
|
|
},
|
|
decorators: [
|
|
Story => {
|
|
return (
|
|
<Provider>
|
|
<Story />
|
|
<ToastContainer />
|
|
</Provider>
|
|
)
|
|
},
|
|
],
|
|
}
|
|
|
|
export default preview
|