1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-05 15:35:46 +01:00
metamask-extension/ui/components/app/snaps/snap-version/snap-version.stories.js

21 lines
505 B
JavaScript
Raw Normal View History

import React from 'react';
import SnapVersion from '.';
export default {
title: 'Components/App/Snaps/SnapVersion',
component: SnapVersion,
};
export const DefaultStory = (args) => <SnapVersion {...args} />;
DefaultStory.args = {
version: '1.4.2',
url: 'https://www.npmjs.com/package/@metamask/test-snap-error',
};
export const LoadingStory = (args) => <SnapVersion {...args} />;
LoadingStory.args = {
version: undefined,
url: 'https://www.npmjs.com/package/@metamask/test-snap-error',
};