animated-dots
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

animated-dots

The library that enables the use of animated ellipsis in React.

Default Example

default

import React from 'react';
import { AnimatedDots } from 'animated-dots';

export const Example = () => {
  return (
    <div>
      Default example<AnimatedDots />
    </div>
  );
};

Custom Example

custom

import React from 'react';
import { AnimatedDots } from 'animated-dots';

export const Example = () => {
  return (
    <div>
      Custom example<AnimatedDots symbol='!' interval={300} />
    </div>
  );
};

Options

option default type description
symbol . string Symbol to be animated
interval 700 number Interval at which the number of symbols will change

Package Sidebar

Install

npm i animated-dots

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

6.16 kB

Total Files

8

Last publish

Collaborators

  • privetigor