mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 22:24:27 +01:00
20 lines
486 B
JavaScript
20 lines
486 B
JavaScript
|
import React from 'react';
|
||
|
import ConfirmPageContainerWarning from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/UI/ConfirmPageContainerWarning', // title should follow the folder structure location of the component. Don't use spaces.
|
||
|
id: __filename,
|
||
|
argTypes: {
|
||
|
warning: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
warning: 'This is a warning',
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <ConfirmPageContainerWarning {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|