import React , { HTMLAttributes } from 'react' ; import { useClassNames } from './useClassNames' ; export type Props = { children ? : React . ReactNode ; className ? : string ; } ; type ElementProps = Omit < HTMLAttributes < HTMLTableRowElement > , keyof Props > ; export const Row = ( { className = '' , children , ... props } ) => { const classNames = useClassNames ( ) . row ; return ( < tr className = { `${ className } ${ classNames . wrapper }` } { ... props } > { children } < /tr>); } ;