@devfamily/admiral
Version:
Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.
14 lines (13 loc) • 653 B
TypeScript
import React from 'react';
import { ColumnType, TableProps } from './interfaces';
declare function Column<RecordType>(_: ColumnType<RecordType>): null;
declare function InternalTable<RecordType extends object = any>(props: TableProps<RecordType>, wrapperRef: React.ForwardedRef<HTMLDivElement>): JSX.Element;
declare const ForwardTable: <T>(props: TableProps<T> & {
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
}) => ReturnType<typeof InternalTable>;
declare type ForwardTableType = typeof ForwardTable;
interface TableInterface extends ForwardTableType {
Column: typeof Column;
}
export declare const Table: TableInterface;
export {};