import LoadingIndicator from 'sentry/components/loadingIndicator'; import LoadingTriangle from 'sentry/components/loadingTriangle'; export default { title: 'Components/Loading Indicators', component: LoadingIndicator, }; export const All = () => (
Default
Mini
Triangle
); All.storyName = 'Overview'; All.parameters = { docs: { description: { story: 'Loading indicators. Triangle has negative margins.', }, }, }; export const Default = () => Loading message; Default.storyName = 'Default'; export const Mini = () => Loading message; Mini.storyName = 'Mini'; Mini.parameters = { docs: { description: { story: 'Small loading indicator', }, }, }; export const Triangle = () => (
Loading message
); Triangle.storyName = 'Triangle'; Triangle.parameters = { docs: { description: { story: 'Triangle loading indicator. Be aware it has negative margins.', }, }, };