1.0.9 • Published 2 years ago
@readr-media/react-dropping-text v1.0.9
@readr-media/react-dropping-text · 
Demo
Usage Example
import DroppingText from '@readr-media/react-dropping-text'
import React from 'react'
import { createRoot } from 'react-dom/client'
const reactRootId = 'root'
const container = document.getElementById(reactRootId)
const root = createRoot(container)
const mockTextArr = [
'This is',
'<span style="3em">Dropping Text</span>',
'example',
]
root.render(
<DroppingText
showLoadingImg
textArr={mockTextArr}
/>
)
Create Embed Code
See @readr-media/react-embed-code-generator for more information.
Installation
yarn install
Development
$ yarn dev
// or
$ npm run dev
// or
$ make dev
Build (React, ES6 above Transpiling)
$ npm run build
// or
$ make build
NPM Publish
After executing Build
scripts, we will have /lib
folders,
and then we can execute publish command,
npm publish
Note: before publish npm package, we need to bump the package version first.
1.0.4-alpha.1
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.0-beta.2
2 years ago
1.0.0-beta.1
2 years ago
1.0.0-beta.0
2 years ago