
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
react-beautiful-horizontal-timeline
Advanced tools
* We offer Horizontal **Timeline** with your costumize. * Layouts will work on **Any** device, big or small. * Mobiles support **Swipe**. * Ability to **Style** timeline as you want.
$ npm install react-beautiful-horizontal-timeline
import React, { useState } from 'react';
import './App.css';
import { Timeline } from "react-beautiful-horizontal-timeline";
function App() {
const myList = [
{
date: "2018-03-22",
name: "Event number 01",
s: "lorem imp ",
t: "maor k"
},
{
date: "2018-03-22",
name: "Event number 02",
s: "lorem imp",
t: "Maor"
},
{
date: "2018-03-22",
name: "Event number 03",
s: "lorem ip ",
t: "Maor"
},
{
name: "Event number 04",
date: "2018-03-22",
s: "lorem impo",
t: "Maor"
},
{
date: "2018-03-22",
name: "Event number 05",
s: "Extreme ",
t: "Maor tt"
},
{
date: "2018-03-22",
name: "Event number 06",
s: "lorem imp ",
t: "Maor"
},
{
date: "2018-03-22",
name: "Event number 07",
s: "lorem ips ",
t: "Maor"
},
{
date: "2018-03-22",
name: "Event number 08",
s: "lorem ips ",
t: "Maor"
},
{
date: "2018-03-22",
name: "Event number 09",
s: "lorem ips ",
t: "Maor"
},
{
date: "2018-03-22",
name: "Event number 10",
s: "lorem imp ",
t: "Maor"
},
{
name: "Extreme at Maor Tt10",
data: "2018-03-22",
s: "lorem imp ",
t: "Maor"
}
];
const [labelWidth, setlabelWidth] = useState(140);
const [amountMove, setamountMove] = useState(350);
const [lineColor, setlineColor] = useState("#61dafb");
const [darkMode, setdarkMode] = useState(false);
const [eventTextAlignCenter, seteventTextAlignCenter] = useState(true);
const [showSlider, setshowSlider] = useState(true);
const [arrowsSize, setarrowsSize] = useState(false);
return (
<div className="App">
<Timeline
myList={myList}
labelWidth={labelWidth}
amountMove={amountMove}
lineColor={lineColor}
darkMode={darkMode}
eventTextAlignCenter={eventTextAlignCenter}
showSlider={showSlider}
arrowsSize={arrowsSize}
/>
</div>
);
}
export default App
@import '../node_modules/react-beautiful-horizontal-timeline/card.css';
Prop | Type | Mandatory | Description |
---|---|---|---|
myList | Array | true | - |
labelWidth | Number | true | - |
amountMove | Number | true | - |
lineColor | String | true | - |
darkMode | Boolean | true | - |
showSlider | Boolean | true | specific event to show with slider |
eventTextAlignCenter | Boolean | false | text location event |
arrowsSize | String | false | size of the 2 arrows : 'sm'/'med'/'lg', default - sm |
FAQs
* We offer Horizontal **Timeline** with your costumize. * Layouts will work on **Any** device, big or small. * Mobiles support **Swipe**. * Ability to **Style** timeline as you want.
The npm package react-beautiful-horizontal-timeline receives a total of 46 weekly downloads. As such, react-beautiful-horizontal-timeline popularity was classified as not popular.
We found that react-beautiful-horizontal-timeline 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.