Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         function checkAuctionType(auctionType) {
  2.             return (
  3.                 <fieldset id='auction_type'>
  4.                     <input type='radio' name='auction_type' checked={auctionType === 'tokens'}/>&nbsp;Token&nbsp;
  5.                     <input type='radio' name='auction_type' checked={auctionType === 'credits'}/>&nbsp;Credit&nbsp;
  6.                 </fieldset>
  7.             )
  8.         }
  9.  
  10.         const auctionType = this.props.item.type
  11.         const auctionTypeRadio = checkAuctionType(auctionType)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement