Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

text slider in react js

//install text-slider first

import React from 'react'
import TextSlider from 'text-slider'
const slideText = ["Welcome to React Native Text Slider",
"It is very easy to use",
"You can simply install and use it now",
"If you have any issues open up an issue in issues tab"
]
export default MyComponent extends React.Component{
render(){
    return(
	    <TextSlider 
	    frequency=5000
	    slideText={slideText}
	    />
    )
}
}
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #text #slider #react #js
ADD COMMENT
Topic
Name
9+5 =