mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 04:46:10 +01:00
26 lines
530 B
JavaScript
26 lines
530 B
JavaScript
|
import React from 'react';
|
||
|
import SnapsAuthorshipPill from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/Flask/SnapsAuthorshipPill',
|
||
|
id: __filename,
|
||
|
component: SnapsAuthorshipPill,
|
||
|
argTypes: {
|
||
|
packageName: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
url: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <SnapsAuthorshipPill {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|
||
|
|
||
|
DefaultStory.args = {
|
||
|
packageName: 'npm-package-name',
|
||
|
url: 'https://www.npmjs.com/package/@airswap/protocols',
|
||
|
};
|