import { jsx as _jsx } from "react/jsx-runtime";
import { cn } from '../../../scalars/lib/utils.js';
const renderAmountCell = (value, context) => {
    return (_jsx("div", { className: cn({
            'text-right': context.column.align === 'right',
            'text-center': context.column.align === 'center',
            'text-left': context.column.align === 'left' || !context.column.align,
        }), children: value?.toString() ?? '' }));
};
export { renderAmountCell };
//# sourceMappingURL=amount-render.js.map