import * as React from 'react'; import { LinearProgressBar as CoreLinearProgressBar, LinearProgressBarProps as CoreLinearProgressBarProps } from 'wix-ui-core/linear-progress-bar'; import ToggleOn from 'wix-ui-icons-common/system/ToggleOn'; import FormFieldError from 'wix-ui-icons-common/system/FormFieldError'; import style from './LinearProgressBar.st.css'; import { Tooltip } from '../Tooltip'; import { Omit } from '../../types/common'; export interface LinearProgressBarProps extends Omit { /** message to display when an error happens */ errorMessage?: string; /** use light theme instead of dark theme */ light?: boolean; } export const LinearProgressBar: React.SFC = ( props: LinearProgressBarProps ) => { const { errorMessage, light, ...otherProps } = props; return ( } errorIcon={ } /> ); }; LinearProgressBar.displayName = 'LinearProgressBar';