Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  ..
  Form
  Readme.md
  UserInvite.tsx
  index.ts
  renderProps.tsx
  state.tsx
  styled.tsx
  typings.ts
Size: Mime:

// import omniStorage from '@skava/persistence'

// @action // persistUser() { // omniStorage.set('user_invite_list', this.userInviteList) // }

@action.bound handleAddUser(SERIALIZED_DATA_ON_FORM_SUBMIT: FormSubmitData) { this.userInviteList.push(SERIALIZED_DATA_ON_FORM_SUBMIT) // this.persistUser() }

@action.bound handleRemoveUser(index: number) { console.log('handleRemoveUser data', index) console.log('handleRemoveUser list Before', this.userInviteList) // this.userInviteList.remove(SERIALIZED_DATA_ON_FORM_SUBMIT) this.userInviteList.splice(index, 1) console.log('handleRemoveUser list After', this.userInviteList) // this.persistUser() }