react-super-responsive-table
Version:
react-super-responsive-table converts your table data to a user-friendly list in mobile view.
9 lines (8 loc) • 378 B
TypeScript
import React, { PropsWithChildren } from 'react';
type HeaderContextType = {
headers: string[];
setHeaders: React.Dispatch<React.SetStateAction<string[]>>;
};
declare const HeaderContext: React.Context<HeaderContextType | undefined>;
declare function HeaderProvider({ children }: PropsWithChildren<unknown>): React.JSX.Element;
export { HeaderProvider, HeaderContext };