import { HTMLAttributes } from 'react' ; import { c } from 'ttag' ; import { classnames } from '../../helpers' ; export interface Props extends HTMLAttributes < HTMLSpanElement > { className ? : string ; } const EllipsisLoader = ( { className , ... rest } ) => { return ( < span className = { classnames ( [ 'ellipsis-loader' , className ] ) } { ... rest } > < span className = "sr-only" > { c ( 'Info' ) . t `Loading` } < /span> < /span>); } ; export default EllipsisLoader ;