UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

43 lines (42 loc) 1.24 kB
import React from 'react'; import { StandardProps } from '../../util/component-types'; interface ITitleProps extends StandardProps { } interface IProgressBarProps extends StandardProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> { /** Applies a color style for the kind of ProgressBar. */ kind: 'default' | 'success' | 'danger' | 'info' | 'warning'; /** Percentage ProgressBar is complete. */ percentComplete: number; /** *Child Element* - Title contents. Only one \`Title\` is used. */ Title?: string | React.ReactNode & { props: ITitleProps; }; } export declare const ProgressBar: { (props: IProgressBarProps): React.ReactElement; defaultProps: { kind: "default"; percentComplete: number; }; Title: { (_props: ITitleProps): null; displayName: string; propName: string; peek: { description: string; }; }; displayName: string; peek: { description: string; categories: string[]; }; propTypes: { className: any; kind: any; percentComplete: any; children: any; Title: any; }; }; export default ProgressBar;