Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
react-helium
Advanced tools
See demo - https://alexdisdier.github.io/react-helium/
If you wish to use this components' library in your project.
npm install react-helium
or
yarn add react-helium
You then need to pass a theme or use react-helium default. This is usually done in the root level of your application.
e.g: (using react-jss for styling)
import React from "react";
import { ThemeProvider } from "react-jss";
import { theme, Button } from "react-helium";
import "react-helium/lib/style/base.css"; // Can be replaced with your custom reset.
<ThemeProvider theme={theme}>
<div classname="root">
<Button onClick={() => alert("hello world")} round color="green">
I am THE button
</Button>
</div>
</ThemeProvider>;
You can check out the documentation using storybook.
For the commands, you can use either npm or yarn.
Clone this repository :
git clone https://github.com/alexdisdier/react-helium.git
cd react-helium
yarn
You can use storybook.js for running and visualizing the components:
You will get directions about each components usage, how to import them and the required and optional props.
yarn start
and visit localhost:6007
By exporting it as a static app, you can then serve your story on the network
yarn build-storybook
npx http-server .storybook-static
yarn test:unit
yarn test:coverage
React-helium uses semantic-release
to publish the package on the NPM registry.
Commits need to respect the Angular Commit message format:
Must be one of the following:
The scope could be anything specifying place of the commit change. For example $location, $browser, $compile, $rootScope, ngHref, ngClick, ngView, etc...
You can use * when the change affects more than a single scope.
The subject contains succinct description of the change:
It should start with the word BREAKING CHANGE: with a space or two newlines. The rest of the commit message is then used for this.
A few examples of commit messages:
Commit message | Release type |
---|---|
fix(pencil): stop graphite breaking when too much pressure applied | Patch Release |
feat(pencil): add 'graphiteWidth' option | Minor Feature Release |
perf(pencil): remove graphiteWidth option | Major Breaking Release |
BREAKING CHANGE: The graphiteWidth option has been removed. The default ... | Major Breaking Release |
I welcome any pull requests. I will soon draft a contributing document
react-helium is MIT licensed.
FAQs
A React component library
The npm package react-helium receives a total of 27 weekly downloads. As such, react-helium popularity was classified as not popular.
We found that react-helium 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.