
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
armstrong-react
Advanced tools
Armstrong React - Rocketmakers React component library.
A library of components for React/SCSS interface development.
The Rokot platform components heavily rely on usage of the typings utility for typescript definitions management. If you don't have
typings
installed:
npm i typings -g
WARNING!: This library assumes you're using React and SASS.
Install via npm
npm i armstrong-react --save
You will need to install these ambient dependencies:
NOTE: you may already have some of these ambient dependencies installed!
typings install react underscore classnames node -SA
To make use of the default styles, you'll need to import a single SCSS entry point from the module into your root stylesheet. The simplest way of achieving this is to use webpack's sass-loader plugin and add the following line to your root SCSS file:
@import "~armstrong-react/dist/style";
NOTE: If you're not using webpack, you can use an absolute or relative path through your node_modules folder.
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Button } from "armstrong-react";
export class MyComponent extends React.Component<{}, {}> {
private buttonClicked(e) {
console.log('Clicked!')
}
public render() {
return (
<main>
<h1>Below is a button!</h1>
<Button text="Armstrong lives!" condition="info" onClick={ this.buttonClicked } />
</main>
);
}
}
Don't worry about this ;)
FAQs
Rocketmakers Armstrong library of React components
The npm package armstrong-react receives a total of 29 weekly downloads. As such, armstrong-react popularity was classified as not popular.
We found that armstrong-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.