Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maikenegreiros/react-typerighter

A React Component that makes a cool typing effect
https://github.com/maikenegreiros/react-typerighter

Last synced: 4 days ago
JSON representation

A React Component that makes a cool typing effect

Awesome Lists containing this project

README

        

# react-typerighter

A React Component that makes a cool typing effect

## Usage

React TypeRighter is very simple to use

### Props

Only one of the props is required, the rest of them is optional

1. **text**: _string_ | _required_
2. **color**: _string_
3. **fontSize**: _string_
4. **fontFamily**: _string_
5. **blinkTime**: _number_
6. **typingTime**: _number_

### Example

Here is an example using all the props

```js
import TypeRighter from "react-typerighter";

function MyComponent() {
return (

);
}
```

![TypeRighter Example: A text being typed in the screen](https://raw.githubusercontent.com/maikenegreiros/react-typerighter/master/public/images/typist-example.gif)

## Development

If you want to contribute to this project, you have to compile the project in development mode:

```bash
npm run dev
```

By running the previous command, webpack will compile code in develpment mode and will watch the files changes