bsr-radiocheck
v1.1.2
Published
React component radio checkbox
Downloads
4
Maintainers
Readme
bsr-radiocheck
React component tooltip
Install
npm install --save bsr-radiocheck
Usage
import React from "react";
import {RadioCheck} from "bsr-radiocheck";
import 'bsr-radiocheck/dist/index.css'
export function App(){
return<div>
<RadioCheck
id={"check-1"}
checked={true}
labelContent={'Simple CheckBox'}
onChange={(t,r)=>{
console.log("id: "+t.getAttribute('id')+" checked: "+r)
}}
/>
</div>
}
License
MIT © ionson100