<script>
    import { Progress, Circle } from 'view-design'
    import FunctionComponent from "../../../libs/utils/FunctionComponent";
    const progressFactory = (ctx) => {
        let type = ctx.props ? ctx.props.type : '';
        if (!type || type === 'line' ) {
            return Progress
        } else  {
            return Circle
        }
    };
    progressFactory.isRunInFC = true;
    export default FunctionComponent(progressFactory, 'ht-base-progress', 'i');
</script>


