<a href='#' className='icon inline pad0y trash quiet' data-field={field} onClick={this.props.destroyFilter}></a>
<a href='#' className='icon inline pad0y trash quiet' onClick={this.props.destroyFilter.bind(this, field)}></a>
In the second example, destroyFilter
will be called with field
as its first argument. See Function.bind for full deets.