1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/components/app/snaps/snap-version/snap-version.stories.js
2023-04-25 19:20:37 +02:00

21 lines
505 B
JavaScript

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