mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-27 02:04:24 +01:00
feat: Created an animated Tip button
This commit is contained in:
@@ -2,7 +2,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react';
|
||||
|
||||
import Login_ExternalWalletCard from './Login_ExternalWalletCard';
|
||||
|
||||
import { ModalsDecorator } from '.storybook/helpers'
|
||||
import { ModalsDecorator } from 'src/utils/storybookDecorators'
|
||||
|
||||
export default {
|
||||
title: 'Login/External Wallet Card',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react';
|
||||
|
||||
import Login_NativeWalletCard from './Login_NativeWalletCard';
|
||||
|
||||
import { ModalsDecorator } from '.storybook/helpers'
|
||||
import { ModalsDecorator } from 'src/utils/storybookDecorators'
|
||||
|
||||
export default {
|
||||
title: 'Login/Native Wallet Card',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react';
|
||||
|
||||
import Login_ScanningWalletCard from './Login_ScanningWalletCard';
|
||||
|
||||
import { ModalsDecorator } from '.storybook/helpers'
|
||||
import { ModalsDecorator } from 'src/utils/storybookDecorators'
|
||||
|
||||
export default {
|
||||
title: 'Login/Scanning Wallet Card',
|
||||
|
||||
@@ -2,7 +2,7 @@ import { ComponentStory, ComponentMeta } from '@storybook/react';
|
||||
|
||||
import Login_SuccessCard from './Login_SuccessCard';
|
||||
|
||||
import { ModalsDecorator } from '.storybook/helpers'
|
||||
import { ModalsDecorator } from 'src/utils/storybookDecorators'
|
||||
|
||||
export default {
|
||||
title: 'Login/Success Card',
|
||||
|
||||
@@ -71,6 +71,7 @@ export default function ModalsContainer() {
|
||||
<AnimatePresence>
|
||||
{openModals.map((modal, idx) => {
|
||||
const Child = ALL_MODALS[modal.Modal];
|
||||
|
||||
return (
|
||||
<Modal key={idx} onClose={onClose} direction={direction} isPageModal={modal.props?.isPageModal}>
|
||||
<Child onClose={onClose} direction={direction} isPageModal={modal.props?.isPageModal} {...modal.props} />
|
||||
|
||||
Reference in New Issue
Block a user