@vtex/styleguide
Version:
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
10 lines (9 loc) • 362 B
TypeScript
import { PropsWithChildren } from 'react';
import useTableSort from '../hooks/useTableSort';
interface HeadProps {
sticky: boolean;
sorting?: ReturnType<typeof useTableSort>;
}
export declare function useHeadContext(): HeadProps;
export declare function HeadProvider({ children, sticky, sorting, }: PropsWithChildren<HeadProps>): JSX.Element;
export {};