import { ComponentPropsWithoutRef } from 'react' ; import { CircleLoader } from '../loader' ; interface Props extends ComponentPropsWithoutRef < 'tr' > { colSpan ? : number ; } const TableRowBusy = ( { colSpan , ... rest } ) => ( < tr aria - busy = "true" { ... rest } > < td colSpan = { colSpan } className = "text-center" > < CircleLoader /> < /td> < /tr>); export default TableRowBusy ;