2022-09-12 07:13:52 +00:00
|
|
|
const ProgressbarProps = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'value',
|
|
|
|
type: 'number',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Current value of the progress.'
|
2022-09-12 07:13:52 +00:00
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'mode',
|
|
|
|
type: 'string',
|
|
|
|
default: 'determinate',
|
2022-09-12 07:13:52 +00:00
|
|
|
description: 'Defines the mode of the progress, valid values are "determinate" and "indeterminate".'
|
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'showValue',
|
|
|
|
type: 'boolean',
|
|
|
|
default: 'true',
|
|
|
|
description: 'Whether to display the progress bar value.'
|
2023-04-21 13:34:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'pt',
|
|
|
|
type: 'any',
|
|
|
|
default: 'null',
|
|
|
|
description: 'Uses to pass attributes to DOM elements inside the component.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
progressbar: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'ProgressBar',
|
|
|
|
description: 'ProgressBar is a process status indicator.',
|
2022-09-12 07:13:52 +00:00
|
|
|
props: ProgressbarProps
|
|
|
|
}
|
|
|
|
};
|