1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Updating PulseLoader story format (#12818)

This commit is contained in:
Etienne Dusseault 2021-12-08 00:40:38 +08:00 committed by GitHub
parent ac463bee71
commit f9eaf2f005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import PulseLoader from '.';
# Pulse Loader
Loading indicator with 3 pulsing dots
<Canvas>
<Story id="ui-components-ui-pulse-loader-pulse-loader-stories-js--default-story" />
</Canvas>

View File

@ -1,9 +1,16 @@
import React from 'react';
import README from './README.mdx';
import PulseLoader from '.';
export default {
title: 'Components/UI/PulseLoader',
id: __filename,
component: PulseLoader,
parameters: {
docs: {
page: README,
},
},
};
export const DefaultStory = () => <PulseLoader />;