mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +01:00
789779f4d5
* Add new snap header and footer to snap install * Add new snap header and footer to snap result and snap update * Fix loading state * Fix lint * Add required scrolling * Adjust avatar component * Apply new headers and footers to snaps confirmations * Rename previous SnapAuthorship component to SnapAuthorshipExpanded * Fix lint * Fix font weight * Fix fencing * Fix a test * Fix lint after rebase * Fix E2E * Fix locale lint * Fix another E2E * Fix test ID * Address PR comments * Better scroll button centering * Address design comments * Fix unit test * Fix E2Es
22 lines
443 B
JavaScript
22 lines
443 B
JavaScript
import React from 'react';
|
|
import SnapAuthorshipHeader from './snap-authorship-header';
|
|
|
|
export default {
|
|
title: 'Components/App/Snaps/SnapAuthorshipHeader',
|
|
|
|
component: SnapAuthorshipHeader,
|
|
argTypes: {
|
|
snapId: {
|
|
control: 'text',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <SnapAuthorshipHeader {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|
|
DefaultStory.args = {
|
|
snapId: 'npm:@metamask/test-snap-bip44',
|
|
};
|