Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@sushiswap/ui / dots / Dots.tsx
Size: Mime:
import { FC } from 'react'

import { classNames } from '../index'

interface DotsProps {
  children?: any
  className?: string
}

export const Dots: FC<DotsProps> = ({ children = <span />, className }) => {
  return (
    <span
      className={classNames(
        "after:inline-block after:content-['.'] after:animate-ellipsis after:w-4 after:text-left",
        className
      )}
    >
      {children}
    </span>
  )
}

export default Dots