import * as React from 'react';
import { CnProgress } from '@cainiaofe/cn-ui';
export function createGraphicsPercentFormat() {
    return (column) => {
        return {
            align: 'left',
            cell(val) {
                return React.createElement(CnProgress, { ...column.percentProps, percent: val });
            },
        };
    };
}
