1
import * as React from 'react';
2 3
import { createHostComponent } from '@remax/runtime';
3

4
export interface MovableAreaProps {
5
  readonly dataset?: DOMStringMap;
6
  id?: string;
7
  className?: string;
8
  style?: React.CSSProperties;
9
  width?: number;
10
  height?: number;
11
}
12

13 3
export const MovableArea = createHostComponent<MovableAreaProps>(
14
  'movable-area'
15
) as React.ComponentType<MovableAreaProps>;

Read our documentation on viewing source code .

Loading