
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
overwatch-settings-select
Advanced tools
React component modeling the Overwatch Settings the stepper and toggle elements
A React component modeling the Overwatch Settings select element
Note: Requires React 16.2+
npm install --save overwatch-settings-select
This font is used by Activision Blizzard for much of Overwatch's design. For this component to match the Overwatch design, including the font is required. It can be licensed from MyFonts.
When using CSS font-face, the font-family should match whats below:
font-family: 'Futura No 2 D DemiBold';
Check out example/index.js for working example or below for exact usage.
import SettingsSelect from 'overwatch-settings-select'
class Example extends React.Component {
state = {
selectedIndex: 0,
}
onChange = (selectedIndex) => {
this.setState({
selectedIndex,
})
}
render() {
const { selectedIndex } = this.state
return <SettingsSelect
selectedIndex={selectedIndex}
onChange={this.onChange}
options={
[
'Easy',
'Medium',
'Hard',
'Baller',
]
}
label={'Difficulty'}
/>
}
}
name | required | type | default | desc |
---|---|---|---|---|
onChange | X | function | null | Callback method called when a new option is selected. Parameter is the new selectedIndex to be set in state in the parent component. |
options | X | array | null | Array of strings or Components to be displayed as options |
selectedIndex | X | string | null | Index of the selected option, should be stored in parent state and changed during onChange |
label | string | null | Label for the component, positioned to the left of the options |
npm run dev
Install it:
cd example/; npm install
Run it while developing (in another terminal window):
cd example/; npm run dev
Open http://localhost:8080/ to see the running example
npm test
Made with 🍊 by Chris Dolphin
The font Futura No 2 D DemiBold should be licensed through MyFonts.com
FAQs
React component modeling the Overwatch Settings the stepper and toggle elements
The npm package overwatch-settings-select receives a total of 0 weekly downloads. As such, overwatch-settings-select popularity was classified as not popular.
We found that overwatch-settings-select 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.