Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
react-native-typing-animation
Advanced tools
A React Native typing animation for your chat app based on simple trigonometry to create better loaders.
A typing animation for your React Native chat app
based on simple trigonometry to create better loaders.
requestAnimationFrame
npm install react-native-typing-animation --save
yarn add react-native-typing-animation
import React from "react";
import { TypingAnimation } from 'react-native-typing-animation';
class Example extends React.Component {
render() {
return (
<TypingAnimation />
);
}
}
import React from "react";
import { TypingAnimation } from 'react-native-typing-animation';
class Example extends React.Component {
render() {
return (
<TypingAnimation
dotColor="black"
dotMargin={3}
dotAmplitude={3}
dotRadius={2.5}
dotX={12}
dotY={6}
/>
);
}
}
style
(Object) - Container styles; default is {}
dotColor
(String) - Dot color; default is #000
(black)dotStyles
(Object) - Dot styles; default is {}
dotRadius
(Integer) - Dot radius; default is 2.5
dotMargin
(Integer) - Dot margin, the space between dots; default is 3
dotAmplitude
(Integer) - Dot amplitude; default is 3
dotY
(Integer) - Dot y, the starting y coordinate; default is 6
dotX
(Integer) - Dot x, the x coordinate of the center dot; default is 12
Feel free to ask me questions on Twitter @icookandcode!
Work is based on the amazing article "How you can use simple Trigonometry to create better loaders" by Nash Vail
Submit a PR to contribute :)
requestAnimationFrame
to Animated
with useNativeDriver
(PRs welcome)We use release-it
, to release do the following:
yarn run release:dry
yarn run release
TODO
FAQs
A React Native typing animation for your chat app based on simple trigonometry to create better loaders.
The npm package react-native-typing-animation receives a total of 34,050 weekly downloads. As such, react-native-typing-animation popularity was classified as popular.
We found that react-native-typing-animation demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.