Metadata-Version: 2.1
Name: reflex-text-loop
Version: 0.0.1
Summary: Reflex custom component for React easy-react-text-loop
Author-email: Akshay Ranjan <akshay.ranjan@gmail.com>
License: Apache-2.0
Keywords: reflex,reflex-custom-components
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: reflex>=0.4.2
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"

# TextLoop

A Reflex custom component for looping text based on [easy-react-text-loop](https://www.npmjs.com/package/easy-react-text-loop) React component.

## Installation

### PIP

```bash
pip install reflex-text-loop
```

### Poetry

```bash
poetry add reflex-text-loop
```

## Usage

### Props

| Name | Type | Default | Description |
|--|--|--|--|
| `animation` | `string` | `tween` | One of `tween`, `spring`, `inertia`, `keyframes`, `just` |
| `timeout` | `number` | `2500` | Animation timout in `ms` |
| `text` | `string` | None | Comma separated words which will be used in animation |

## Sample

```python
from reflex_text_loop import TextLoop

def index():
    rx.text(
        TextLoop(
            "Un", "Dros", "Tres"
        )
    )
```
