2021-12-01 23:45:55 +01:00
|
|
|
import React from 'react';
|
|
|
|
import SnapsAuthorshipPill from '.';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
title: 'Components/App/Flask/SnapsAuthorshipPill',
|
|
|
|
id: __filename,
|
|
|
|
component: SnapsAuthorshipPill,
|
|
|
|
argTypes: {
|
2022-06-28 15:11:19 +02:00
|
|
|
packageName: {
|
|
|
|
control: 'text',
|
|
|
|
},
|
|
|
|
url: {
|
2021-12-01 23:45:55 +01:00
|
|
|
control: 'text',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const DefaultStory = (args) => <SnapsAuthorshipPill {...args} />;
|
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|
|
|
|
|
|
DefaultStory.args = {
|
2022-06-28 15:11:19 +02:00
|
|
|
packageName: 'npm-package-name',
|
|
|
|
url: 'https://www.npmjs.com/package/@airswap/protocols',
|
2021-12-01 23:45:55 +01:00
|
|
|
};
|