Socket
Socket
Sign inDemoInstall

react-upward-marquee

Package Overview
Dependencies
3
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-upward-marquee

an upward marquee react components


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
52.9 kB
Created
Weekly downloads
 

Readme

Source

React-Upward-Marquee

react-upward-marquee

Install

npm install --save react-upward-marquee

Usage

import React from 'react'
import { render } from 'react-dom'
import Marquee from 'react-upward-marquee'


let data = [
  {
    content: "I'm the first content and my delay is 2s",
    time:2
  },
  {
    content: "I'm the second content and my delay is 4s",
    time:4
  },
  {
    content: "I'm the third content and my delay is 6s",
    time:6
  },
  {
    content: "I'm the forth content and my delay is 8s",
    time:8
  }
]

render(
  <Marquee
    data={data}
    fontSize="30px"
    animationTime="1500"
   />,
  document.getElementById('root')
);

Properties

PropertiesTypeDefaultRequired
dataarraytrue
fontSizestring'20px'false
backgroundColorstring'#f58f4e'false
colorstring'#424140'false
borderRadiusstring'20px'false
animationTime(ms)number1000false
animationTimingFunctionstring'ease'false

Demo

git clone git@github.com:WendellLiu/react-upward-marquee.git
npm install --save
npm start

Keywords

FAQs

Last updated on 09 Jun 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc