react-tag-autocomplete
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -15,4 +15,4 @@ 'use strict'; | ||
return React.createElement( | ||
'span', | ||
{ className: 'ReactTags__tag' }, | ||
'button', | ||
{ className: 'ReactTags__tag', title: 'Click to remove tag', onClick: this.props.onDelete }, | ||
React.createElement( | ||
@@ -22,11 +22,2 @@ 'span', | ||
this.props.tag.name | ||
), | ||
React.createElement( | ||
'button', | ||
{ className: 'ReactTags__remove', title: 'Click to remove tag', onClick: this.props.onDelete }, | ||
React.createElement( | ||
'span', | ||
{ 'aria-hidden': 'true' }, | ||
'✕' | ||
) | ||
) | ||
@@ -33,0 +24,0 @@ ); |
@@ -12,10 +12,7 @@ const React = require('react'); | ||
return ( | ||
<span className='ReactTags__tag'> | ||
<button className='ReactTags__tag' title='Click to remove tag' onClick={this.props.onDelete}> | ||
<span className='ReactTags__tagName'>{this.props.tag.name}</span> | ||
<button className='ReactTags__remove' title='Click to remove tag' onClick={this.props.onDelete}> | ||
<span aria-hidden='true'>{'\u2715'}</span> | ||
</button> | ||
</span> | ||
</button> | ||
); | ||
} | ||
}); |
{ | ||
"name": "react-tag-autocomplete", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "React Tag Autocomplete is a simple tagging component ready to drop in your React projects.", | ||
@@ -5,0 +5,0 @@ "main": "dist/ReactTags.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1905226
1445