1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/ui/components/app/recovery-phrase-reminder/recovery-phrase-reminder.stories.js
Matthias Kretschmann f6210927dd
Part of #17670: Replace Typography with Text component in RecoveryPhraseReminder (#18639)
* 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>
2023-04-27 17:06:49 +01:00

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';