2022-09-12 07:13:52 +00:00
|
|
|
const ProgressSpinnerProps = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'strokeWidth',
|
|
|
|
type: 'string',
|
|
|
|
default: '2',
|
|
|
|
description: 'Width of the circle stroke.'
|
2022-09-12 07:13:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'fill',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Color for the background of the circle.'
|
2022-09-12 07:13:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'animationDuration',
|
|
|
|
type: 'string',
|
|
|
|
default: '2s',
|
|
|
|
description: 'Duration of the rotate animation.'
|
2023-04-21 13:39:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'pt',
|
|
|
|
type: 'any',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Uses to pass attributes to DOM elements inside the component.'
|
2023-07-06 13:20:37 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'unstyled',
|
|
|
|
type: 'boolean',
|
|
|
|
default: 'false',
|
|
|
|
description: 'When enabled, it removes component related styles in the core.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
progressspinner: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'ProgressSpinner',
|
|
|
|
description: 'ProgressSpinner is a process status indicator',
|
2022-09-12 07:13:52 +00:00
|
|
|
props: ProgressSpinnerProps
|
|
|
|
}
|
|
|
|
};
|