UNPKG

ar-design

Version:

AR Design is a (react | nextjs) ui library.

13 lines (12 loc) 490 B
import React from "react"; import { TableColumnType } from "../../../../libs/types"; import { Config } from "../IProps"; interface IProps<T extends object> { c: TableColumnType<T>; item: T; trackByValue: string; onEditable: (item: T, trackByValue: string, currentKey?: keyof T | null) => void; config: Config<T>; } declare const Editable: <T extends object>({ c, item, trackByValue, onEditable, config }: IProps<T>) => React.JSX.Element | null; export default Editable;