mirror of
https://github.com/wassname/talk.git
synced 2026-08-20 12:50:41 +08:00
off topic plugins, and examples
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import React from 'react';
|
||||
import styles from './styles.css';
|
||||
|
||||
class OffTopicCheckbox extends React.Component {
|
||||
|
||||
handleChange = () => {
|
||||
console.log('handle Change');
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className={`wapo-styles-offtopic ${styles.offTopic}`}>
|
||||
<label>
|
||||
<input type="checkbox" onChange={this.handleChange}/>
|
||||
Off-Topic
|
||||
</label>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export default OffTopicCheckbox;
|
||||
Reference in New Issue
Block a user