UNPKG

opt-table

Version:

A Responsive and Customizable Rich Table

10 lines 761 B
import React from "react"; import { TableContextProvider, } from "../../context/table_context"; import CustomTable from "./table_index"; function LocalTable(props, ref) { const localRef = ref || React.useRef(null); return (React.createElement(TableContextProvider, { ref: ref, table_props: props }, React.createElement(CustomTable, { data: props.data, table_head_list: props.table_head_list, DetailsPanel: props.DetailsPanel, loading: props.loading, default_sort: props.default_sort, container_style: props.container_style, has_pagination: props.has_pagination, options: props.options, ref: localRef, table_zIndex: props.table_zIndex }))); } export const OptTable = React.forwardRef(LocalTable); //# sourceMappingURL=table_screen.js.map