mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
24 lines
467 B
JavaScript
24 lines
467 B
JavaScript
|
import React from 'react';
|
||
|
import RecoveryPhraseReminder from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/RecoveryPhraseReminder',
|
||
|
|
||
|
argTypes: {
|
||
|
hasBackedUp: {
|
||
|
control: 'boolean',
|
||
|
},
|
||
|
onConfirm: {
|
||
|
action: 'onConfirm',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
hasBackedUp: false,
|
||
|
onConfirm: () => console.log('onConfirm fired'),
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <RecoveryPhraseReminder {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|