@schema-render/search-table-react
Version:
Conditional search table component.
14 lines (13 loc) • 360 B
TypeScript
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 {};