Tests for all Components
This commit is contained in:
@ -12,7 +12,8 @@ class Tag extends React.Component {
|
||||
render() {
|
||||
// todo onclick events correctlyy
|
||||
return (
|
||||
<button className='tagbtn' onClick={this.props.onClick} data-testid="Test-Tag">{this.props.children}</button>
|
||||
<button className='tagbtn' onClick={this.props.onClick}
|
||||
data-testid="Test-Tag">{this.props.children}</button>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user