Files
OpenMediaCenter/src/Tag.js
lukas 0171133d40 improved tagging system
new settings page tab
2020-06-03 12:26:10 +02:00

22 lines
402 B
JavaScript

import React from "react";
import "./css/Tag.css"
class Tag extends React.Component {
constructor(props, context) {
super(props, context);
this.props = props;
}
render() {
// todo onclick events correctly
return (
<button className='tagbtn' onClick={this.props.onClick}>{this.props.children}</button>
);
}
}
export default Tag;