mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			479 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			479 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import React from 'react';
 | 
						|
import { storiesOf } from '@storybook/react';
 | 
						|
import { action } from '@storybook/addon-actions';
 | 
						|
 | 
						|
import { ProfileLayout } from 'app/components/profile/Profile.story';
 | 
						|
 | 
						|
import DeleteAccount from './DeleteAccount';
 | 
						|
 | 
						|
storiesOf('Components/Profile', module).add('DeleteAccount', () => (
 | 
						|
    <ProfileLayout>
 | 
						|
        <DeleteAccount
 | 
						|
            onSubmit={async () => {
 | 
						|
                action('onSubmit')();
 | 
						|
            }}
 | 
						|
        />
 | 
						|
    </ProfileLayout>
 | 
						|
));
 |