UNPKG

common-intellisense

Version:
96 lines (95 loc) 2.77 kB
{ "props": [ { "Attribute": "label", "Type": "`ReactNode`", "Description": "The content to display as the label.", "Default": "-" }, { "Attribute": "size", "Type": "`sm` | `md` | `lg`", "Description": "The size of the indicator.", "Default": "`md`" }, { "Attribute": "color", "Type": "`default` | `primary` | `secondary` | `success` | `warning` | `danger`", "Description": "The color of the indicator.", "Default": "`primary`" }, { "Attribute": "radius", "Type": "`none` | `sm` | `md` | `lg` | `full`", "Description": "The progress border radius.", "Default": "`full`" }, { "Attribute": "value", "Type": "`number`", "Description": "The current value (controlled).", "Default": "-" }, { "Attribute": "valueLabel", "Type": "`ReactNode`", "Description": "The content to display as the value's label (e.g. 1 of 4).", "Default": "-" }, { "Attribute": "minValue", "Type": "`number`", "Description": "The smallest value allowed for the input.", "Default": "`0`" }, { "Attribute": "maxValue", "Type": "`number`", "Description": "The largest value allowed for the input.", "Default": "`100`" }, { "Attribute": "formatOptions", "Type": "[Intl.NumberFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat)", "Description": "The options to format the value.", "Default": "`{style: 'percent'}`" }, { "Attribute": "isIndeterminate", "Type": "`boolean`", "Description": "Whether the progress is indeterminate.", "Default": "`false`" }, { "Attribute": "isStriped", "Type": "`boolean`", "Description": "Whether the progress is striped.", "Default": "`false`" }, { "Attribute": "showValueLabel", "Type": "`boolean`", "Description": "Whether to show the value label.", "Default": "`true`" }, { "Attribute": "isDisabled", "Type": "`boolean`", "Description": "Whether the progress is disabled.", "Default": "`false`" }, { "Attribute": "disableAnimation", "Type": "`boolean`", "Description": "Whether to disable the animation.", "Default": "`false`" }, { "Attribute": "classNames", "Type": "`Record<\"base\"\"labelWrapper\"\"label\"\"track\"\"value\"\"track\"\"indicator\", string>`", "Description": "Allows to set custom class names for the progress slots.", "Default": "-" } ], "link": "https://nextui.org/docs/components/circular" }