replaced expiry with react component
using jasmine-react for testing