You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import React from "react"; |
|
import "./Char.css"; |
|
|
|
class Char extends React.Component { |
|
constructor(props) { |
|
super(props); |
|
} |
|
|
|
render() { |
|
return <div className="Char" onClick={this.props.click} >{this.props.string}</div>; |
|
} |
|
} |
|
|
|
export default Char;
|
|
|