
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
uxcore-radiogroup
Advanced tools
uxcore-radiogroup ui component for react
$ git clone https://github.com/uxcore/uxcore-radiogroup
$ cd uxcore-radiogroup
$ npm install
$ gulp server
let RadioGroup = require('../src');
let {Item} = RadioGroup;
class Demo extends React.Component {
constructor(props) {
super(props);
this.state = {};
}
handleChange(value) {
let me = this;
console.log(value);
me.setState({
value: value
});
}
render() {
let me = this;
return (
<RadioGroup value={me.state.value} onChange={me.handleChange.bind(me)}>
<Item value="apple" text="苹果"/>
<Item value="banana" text=" 香蕉"/>
<Item value="orange" text="橘子"/>
</RadioGroup>
)
}
}
module.exports = Demo;
http://uxcore.github.io/uxcore/
| 配置项 | 类型 | 必填 | 默认值 | 功能/备注 |
|---|---|---|---|---|
| value | string | required | "" | radioGroup 被选中的项 |
| onChange | function | required | noop | 点击 radio 时触发,传入参数 value,代表被选中的项 |
| disabled | boolean | optional | false | 是否为 disable 状态 |
| 配置项 | 类型 | 必填 | 默认值 | 功能/备注 |
|---|---|---|---|---|
| value | string | required | "" | 该 radio 所代表的值 |
| text | string | optional | "" | 该 radio 显示的说明 |
| disabled | boolean | optional | - | Item 是否为 disable 状态,具有比 Group 更高的优先级 |
FAQs
uxcore-radiogroup ui component for react
We found that uxcore-radiogroup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.