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:
parent
ac463bee71
commit
f9eaf2f005
11
ui/components/ui/pulse-loader/README.mdx
Normal file
11
ui/components/ui/pulse-loader/README.mdx
Normal 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>
|
@ -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 />;
|
||||
|
Loading…
Reference in New Issue
Block a user