
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
react-user-guide
Advanced tools
npm install --save react-user-guide
import React, { Component } from 'react';
import UserGuide from 'react-user-guide';
const style = {
width: '20vw',
backgroundColor: 'grey',
marginTop: '20vh',
marginLeft: '40vw',
padding: 5
};
const buttonConfig = {
yesText: 'Yes',
noText: 'No',
nextText: 'Next',
skipText: 'Skip',
finishText: 'Finish'
};
const guides = [
{
querySelector: '.unique-classname',
position: 'east',
title: 'First',
message: 'User guide position \'east\''
},
{
querySelector: '.unique-classname',
position: 'west',
title: 'Second',
message: 'User guide position \'west\''
},
{
querySelector: '.unique-classname',
position: 'north',
title: 'Third',
message: 'User guide position \'north\''
},
{
querySelector: '.unique-classname',
tooltipWidth: 500,
position: 'south',
title: 'Forth',
message: 'User guide position \'south\', with custom width'
}
];
export default class App extends Component {
render () {
return (
<UserGuide buttonConfig={buttonConfig} guides={guides}>
<div style={style} className="unique-classname">Target element</div>
</UserGuide>
)
}
}
@import '~react-user-guide/dist/custom-style.css';
// Style modal
.userGuide--modal {
h1 {
}
p {
}
button {
}
}
// Style mask
.userGuide--mask {
}
// Style tooltip
.userGuide--message {
h3 {
}
p {
}
button {
}
}
https://sandeshshrestha.github.io/react-user-guide/
Click here if images didn't load
MIT © sandeshshrestha
FAQs
React User Guide
The npm package react-user-guide receives a total of 0 weekly downloads. As such, react-user-guide popularity was classified as not popular.
We found that react-user-guide 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
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.