You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
756 B
TypeScript
40 lines
756 B
TypeScript
5 years ago
|
import React from 'react';
|
||
|
import classNames from 'classnames';
|
||
|
|
||
|
interface Props {
|
||
|
activeItem: Number;
|
||
|
}
|
||
|
|
||
|
interface State {
|
||
|
activeItem: Number;
|
||
|
}
|
||
|
|
||
|
export class SessionRadioGroup extends React.PureComponent<Props, State> {
|
||
|
public static defaultProps = {
|
||
|
onClick: () => null,
|
||
|
};
|
||
|
|
||
|
constructor(props: any) {
|
||
|
super(props);
|
||
|
this.clickHandler = this.clickHandler.bind(this);
|
||
|
}
|
||
|
|
||
|
public render() {
|
||
|
return (
|
||
|
<div
|
||
|
className='session-radio-group'
|
||
|
onClick={this.clickHandler}
|
||
|
>
|
||
|
<label className="radio-container">Four
|
||
|
<input type="checkbox"/>>
|
||
|
<span className="radio-checkmark"></span>
|
||
|
</label>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
private clickHandler(e: any) {
|
||
|
return;
|
||
|
}
|
||
|
}
|