import type { PropsWithChildren } from 'react';
import React from 'react';
import type { GridTableColumnDefinition } from '@theorchard/suite-components';
import type { CellProps } from '@theorchard/suite-components/dist/esm/src/components/table/base/types';

export const PaymentMinimumsListAndEditColumns = () => {
    const PAYMENT_MINIMUMS_LIST_AND_EDIT_COLUMNS: GridTableColumnDefinition<unknown>[] =
        [
            {
                name: 'currency',
                title: 'Currency',
                Cell: ({
                    data: { currency },
                }: PropsWithChildren<CellProps<any>>) => <>{currency}</>,
            },
            {
                name: 'minimum',
                title: 'Minimum',
                Cell: ({
                    data: { minimum },
                }: PropsWithChildren<CellProps<any>>) => <>{minimum}</>,
            },
        ];
    return PAYMENT_MINIMUMS_LIST_AND_EDIT_COLUMNS;
};
