![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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}
dotSpeed={0.15}
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
dotSpeed
(Integer) - Dot speed; default is 0.15
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
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 30,164 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.