import React from "react"; import IndeterminateProgress from "../IndeterminateProgress"; import { IndeterminateProgressProps, ValueProgressProps, } from "../ProgressCommon"; import { LinearProgress as LinearProgressComponent } from "./LinearProgress"; import { withTheme } from "@draftbit/theme"; const LinearProgress: React.FC< ValueProgressProps & IndeterminateProgressProps > = (props) => { if (props.indeterminate) { return ( ); } else { return ; } }; export default withTheme(LinearProgress);