Updating PulseLoader story format (#12818)

feature/default_network_editable
Etienne Dusseault 3 years ago committed by GitHub
parent ac463bee71
commit f9eaf2f005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      ui/components/ui/pulse-loader/README.mdx
  2. 7
      ui/components/ui/pulse-loader/pulse-loader.stories.js

@ -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 React from 'react';
import README from './README.mdx';
import PulseLoader from '.'; import PulseLoader from '.';
export default { export default {
title: 'Components/UI/PulseLoader', title: 'Components/UI/PulseLoader',
id: __filename, id: __filename,
component: PulseLoader,
parameters: {
docs: {
page: README,
},
},
}; };
export const DefaultStory = () => <PulseLoader />; export const DefaultStory = () => <PulseLoader />;

Loading…
Cancel
Save