@vtex/styleguide
Version:
> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))
15 lines (14 loc) • 490 B
TypeScript
import { PropsWithChildren } from 'react';
interface BodyProps {
onRowClick?: (data: {
rowData: unknown;
}) => void;
isRowActive?: (data: unknown) => boolean;
rowKey?: (data: {
rowData: unknown;
}) => string;
highlightOnHover?: boolean;
}
export declare function useBodyContext(): BodyProps;
export declare function BodyProvider({ children, onRowClick, isRowActive, rowKey, highlightOnHover, }: PropsWithChildren<BodyProps>): JSX.Element;
export {};