import { ColumnDef } from '@tanstack/react-table' import React, { useMemo } from 'react' import Deposit, { DEPOSIT_META } from 'components/HLS/Farm/Table/Columns/Deposit' import ApyRange, { APY_RANGE_META, apyRangeSortingFn, } from 'components/HLS/Staking/Table/Columns/ApyRange' import DepositCap, { CAP_META } from 'components/HLS/Staking/Table/Columns/DepositCap' import MaxLeverage, { MAX_LEV_META } from 'components/HLS/Staking/Table/Columns/MaxLeverage' import MaxLTV, { LTV_MAX_META } from 'components/HLS/Staking/Table/Columns/MaxLTV' import Name, { NAME_META } from 'components/HLS/Staking/Table/Columns/Name' interface Props { isLoading: boolean } export default function useAvailableColumns(props: Props) { return useMemo[]>( () => [ { ...NAME_META, cell: ({ row }) => , }, { ...MAX_LEV_META, cell: ({ row }) => , }, { ...LTV_MAX_META, cell: ({ row }) => ( ), }, { ...CAP_META, cell: ({ row }) => , }, { ...APY_RANGE_META, cell: ({ row }) => ( ), sortingFn: apyRangeSortingFn, }, { ...DEPOSIT_META, cell: ({ row }) => ( ), }, ], [props.isLoading], ) }