UNPKG

@schema-render/search-table-react

Version:
14 lines (13 loc) 360 B
import type { ReactNode } from 'react'; import type { ILocale } from '../../typings'; interface IColumn { title: string; dataIndex: string; width: number; render?: (value: any, onChange: (val: any) => void) => ReactNode; algin?: 'center'; } export declare function createColumns({ locale }: { locale: ILocale; }): IColumn[]; export {};