@navinc/base-react-components
Version:
Nav's Pattern Library
24 lines (20 loc) • 460 B
JavaScript
import React from 'react'
import { LoadingDots } from './loading-dots.js'
import readme from './loading-dots.readme.md'
export default {
title: 'General/LoadingDots',
component: LoadingDots,
parameters: {
readme: { content: readme },
},
}
export const Basic = (args) => <LoadingDots {...args} />
Basic.argTypes = {
variation: {
type: 'select',
options: ['purple', 'green', 'inverted'],
},
}
Basic.args = {
variation: 'inverted',
}