lootie file in react
import React from 'react';
import Lottie from 'react-lottie';
import animationData from './lotties/kiss-of-the-heart';
export default function App() {
const defaultOptions = {
loop: true,
autoplay: true,
animationData: animationData,
rendererSettings: {
preserveAspectRatio: "xMidYMid slice"
}
};
return (
<div>
<Lottie
options={defaultOptions}
height={400}
width={400}
/>
</div>
);
}
Also in JavaScript:
- route in component react
- how to update angular core in ionic
- react search when stop typing
- ngfor on keys of a dictionary angular
- find in js
- next js typescript
- express react application
- javascript is array a subset of array
- elif exist in js?
- javascript get filename from url
- what is jquery
- javascript press tab key
- how to push array object name javascript
- registeing components in vue
- how to create dynamic json?
- jquery radio button checked event
- Bind Json file into a Datagridview in windows form using C#
- file-loader support json file
- javascript check if key exists in object
- p5js click on button
- enzynme not support react 17
- javascript setattribute onclick function with parameters
- object loop in javascript
- javascript every