Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkAuctionType(auctionType) {
- return (
- <fieldset id='auction_type'>
- <input type='radio' name='auction_type' checked={auctionType === 'tokens'}/> Token
- <input type='radio' name='auction_type' checked={auctionType === 'credits'}/> Credit
- </fieldset>
- )
- }
- const auctionType = this.props.item.type
- const auctionTypeRadio = checkAuctionType(auctionType)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement