1 4
export const alias = {
2
  id: 'id',
3
  className: 'class',
4
  style: 'style',
5
  direction: 'direction',
6
  width: 'width',
7
  height: 'height',
8
  x: 'x',
9
  y: 'y',
10
  disabled: 'disabled',
11
  outOfBounds: 'out-of-bounds',
12
  damping: 'damping',
13
  friction: 'friction',
14
  scale: 'scale',
15
  scaleMin: 'scale-min',
16
  scaleMax: 'scale-max',
17
  scaleValue: 'scale-value',
18
  onTouchStart: 'onTouchStart',
19
  onTouchMove: 'onTouchMove',
20
  onTouchEnd: 'onTouchEnd',
21
  onTouchCancel: 'onTouchCancel',
22
  onChange: 'onChange',
23
  onChangeEnd: 'onChangeEnd',
24
  onScale: 'onScale',
25
};
26

27 4
export const props = Object.values(alias);

Read our documentation on viewing source code .

Loading