import React , { forwardRef } from "react" ; import cl from "classnames" ; interface BodyProps extends React . HTMLAttributes < HTMLTableSectionElement > { } export interface BodyType extends React . ForwardRefExoticComponent < BodyProps & React . RefAttributes < HTMLTableSectionElement > > { } const Body = forwardRef ( ( { className , ... rest } , ref ) => ( < tbody { ... rest } ref = { ref } className = { cl ( "navds-table__body" , className ) } / > ) ) ; export default Body ;