1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui/components/app/ledger-instruction-field/ledger-instruction-field.stories.js
flexa-rob 3c01011ffe
17873 ledger instruction banner (#17937)
* switched to use banner alert and added story

* enabled dismiss functionality

* remove close button

* bump global branches coverage target

* replace Typography with Text and (link) Button with ButtonLink

* unit test for component rendering

* left-align button links to match text

* update copy to reflect figma mock ups

* update unit test snapshot

* bump coverage threshold

* update snapshot to reflect button component changes

* update snapshot to reflect box changes
2023-04-21 13:21:31 +10:00

18 lines
356 B
JavaScript

import React from 'react';
import LedgerInstructionField from '.';
export default {
title: 'Components/App/LedgerInstructionField',
argTypes: {
showDataInstruction: {
control: {
type: 'boolean',
},
},
},
};
export const DefaultStory = (args) => <LedgerInstructionField {...args} />;
DefaultStory.storyName = 'Default';