プロジェクト
GitHubで見る
catalinmiron/react-typical
概要
約400バイトのJavaScriptで実現したReact用タイピングアニメーション 🐡。
制作・メディア計測したスター増加
- 24時間
- 0
- 7日間
- -1
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルreact-typical
React Animated typing in ~400 bytes 🐡 of JavaScript.

Based on awesome typical library by @camwiegert
Youtube Video Tutorial
Install
npm install --save react-typical
Usage
import React, { Component } from 'react'
import Typical from 'react-typical'
class Example extends React.Component {
render () {
return (
<Typical
steps={['Hello', 1000, 'Hello world!', 500]}
loop={Infinity}
wrapper="p"
/>
)
}
}
Properties
| prop | mandatory | type | Eg. |
|---|---|---|---|
steps |
yes | [] | ['Hello', 1000, 'World'] |
wrapper |
no | string | 'p' |
loop |
no | number | 3 |
License
This library is based on @camwiegert/typical work and it currently is just a wrapper for react.
MIT © catalinmiron
関連プロジェクトを探す
読み込み中…
