mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 13:47:06 +01:00
Matthias Kretschmann
f6210927dd
* add story * replace Typograhy with Text * import ordering * FONT_WEIGHT → FontWeight --------- Co-authored-by: Danica Shen <zhaodanica@gmail.com> Co-authored-by: Brad Decker <bhdecker84@gmail.com>
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';
|