UNPKG

opt-table

Version:

A Responsive and Customizable Rich Table

10 lines (9 loc) 618 B
import React from "react"; import { OptTableRefProps, TableHeaderInterface, options } from "./types"; interface props<T> { list_for_edit: TableHeaderInterface<T>[]; options?: options<T>; } export declare const AddNewRowComponent: <T>(props: props<T> & React.RefAttributes<OptTableRefProps>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null; export declare const check_input_type: (event: React.KeyboardEvent<HTMLDivElement>, openShowError: (index: number | null, message: string) => void, index: number, input_type?: "number" | "text" | "price") => true | void; export {};