1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 15:14:29 +01:00
metamask-extension/ui/components/app/flask/snaps-authorship-pill/snaps-authorship-pill.stories.js

26 lines
530 B
JavaScript
Raw Normal View History

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',
};