You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
530 B
26 lines
530 B
3 years ago
|
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',
|
||
|
};
|