mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +01:00
21 lines
505 B
JavaScript
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',
|
||
|
};
|