UNPKG
rn-multiple-choice
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A cross-platform (iOS / Android) single and multiple-choice React Native component.
rn-multiple-choice
/
BaseComponent.js
10 lines
(7 loc)
•
217 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
import
{
Component
}
from
'react'
;
export
default
class
BaseComponent
extends
Component
{
_bind
(
...methods
) { methods.
forEach
(
(
method
) =>
this
[method] =
this
[method].
bind
(
this
) ); } }