UNPKG

@wix/design-system

Version:

@wix/design-system

58 lines (55 loc) 1.73 kB
### dataHook - type: string - description: Hook for testing purposes. ### errorMessage - type: string - description: Message to display when an error happens. ### light - type: boolean - description: Use light theme instead of dark theme. ### skin - type: "standard" | "neutral" | "warning" | "premium" | "success" - description: Sets the skin of the Linear Progress Bar. - default: standard ### padding - type: "none" - description: Overrides the default padding. Options: 'none'. ### onClick - type: MouseEventHandler - description: onClick on the component ### value - type: string | number - description: represent the progress state in percentages (min || 0 - no progress, max || 100 - progress completed) ### error - type: boolean - description: should be true if had failure during the progress ### role - type: string - description: No description ### label - type: string - description: Custom text to display. Will replace the percentage progress indication if provided. ### aria-label - type: string - description: aria-label - Accessibility ### min - type: number - description: minimum value for progress bar, default value: 0 ### max - type: number - description: maximum value for progress bar, default value: 100 ### showProgressIndication - type: boolean - description: when set to true, an indication of the progress state will be presented along side the progress bar ### precision - type: number - description: Number of decimal points to keep when normalizing value ### prefixIndication - type: ReactNode - description: A prefix node for the progress bar ### aria-hide-affixes - type: boolean - description: add aria-hidden to prefix/suffix ### aria-valuetext - type: string - description: No description