import { Button, Input, Table, type InputRef } from 'antd'; import { createContext, useContext, useCallback, useImperativeHandle, useLayoutEffect, useState, type ChangeEventHandler, useRef, type Key, type ReactNode, type ComponentPropsWithRef, type ComponentPropsWithoutRef, } from 'react'; import type { TextAreaRef } from 'antd/es/input/TextArea'; function classes(base: string, className?: string) { return className ? base + ' ' + className : base; } export function LedgerButton({ type = 'submit', className, ...props }: Omit, 'color'>) { const tokens = className?.split(/\s+/); return (