Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.05 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.05 KB

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