MI-Bonus/AddFreeBet

Members

changeExparationDate

Description:
  • Update exparation date field

Source:

Update exparation date field

closeModal

Description:
  • Clear form data and close modal

Source:

Clear form data and close modal

state :object

Source:
Properties:
Name Type Description
userId string
stake string
expirationDate string
numFreeBets string
errorMgs object
Type:
  • object

updateStake

Description:
  • Update stake field

Source:

Update stake field

Methods

handleAddNewFreeBet() → {void}

Description:
  • Save new free bet

Source:
Returns:
Type
void

render() → {view}

Description:
  • Render

Source:
Returns:
Type
view

updateField(field, e) → {void}

Description:
  • Updating state fields

Source:
Parameters:
Name Type Description
field string
e Event | number
Returns:
Type
void

Type Definitions

props

Source:
Properties:
Name Type Description
currency string
setOpenModal function
addFreeBet function
Type:
  • object