# react-marquee-text-component

> A react component about marquee text

Latest version **1.0.4** (published 2019-11-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-marquee-text-component
pnpm add react-marquee-text-component
yarn add react-marquee-text-component
bun add react-marquee-text-component
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-11-04 |
| First published | 2019-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | pubdreamcc |
| Maintainers | pubdreamcc |
| Keywords | react-marquee-component, react-marquee-text-component |

## Links

- npm: https://www.npmjs.com/package/react-marquee-text-component
- Repository: https://github.com/pubdreamcc/react-marquee-text-component
- Homepage: https://github.com/pubdreamcc/react-marquee-text-component#readme
- Issues: https://github.com/pubdreamcc/react-marquee-text-component/issues
- npm.io page: https://npm.io/package/react-marquee-text-component

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.11.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.11.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2

## Recent versions

- 1.0.4 (latest) — 2019-11-04
- 1.0.3 — 2019-11-01
- 1.0.2 — 2019-11-01
- 1.0.1 — 2019-11-01
- 1.0.0 — 2019-10-30

## README

# react-marquee-text-component

![npm](https://img.shields.io/npm/v/react-marquee-text-component)   ![NPM](https://img.shields.io/npm/l/react-marquee-text-component) ![npm](https://img.shields.io/npm/dw/react-marquee-text-component) ![GitHub stars](https://img.shields.io/github/stars/pubdreamcc/react-marquee-text-component?label=star)

基于react的跑马灯文字效果。

## Demo

[Demo here](https://pubdreamcc.github.io/react-marquee-text-component/)

## Installation

```shell
npm install react-marquee-text-component --save
```

## Usage

```js
import React from 'react';
import MarqueeText from 'react-marquee-text-component';

class Demo extends React.Component {
  render() {
    const text = '这是一段滚动轮播的文字';
    return (
      <MarqueeText text={text}/>
    )
  }
}
```

## API

|Prop    |Type   |Default| Description        |
| -------|:-----:|:-----:| -------------------|
|duration|Number |15|Animation Duration     |
|repeat	 |Number |2 |Number of repeat the Slot (It's important for to short content)            |
|paused  |Boolean|false|The property specifies whether the animation is running or paused|
|style|Object||Style of marquee text|
|className|String||The class name of the marquee text|


## License

MIT

---
_Source: https://npm.io/package/react-marquee-text-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
