Add a className attribute that adds the given value to the item view's classes