English | [简体中文](./README-zh_CN.md)

# @ray-js/circlehandle

> Circlehandle

## Installation

```sh
$ npm install @ray-js/circlehandle
# or
$ yarn add @ray-js/circlehandle
```

## Usage

```tsx
import CircleHandle from '@ray-js/circlehandle';
export default () => (
  <CircleHandle
    onPress={type => console.log('click type:', type)}
    onLongPress={type => console.log('click type:', type)}
    pointColor={{
      top: '#000',
      right: '#000',
      bottom: '#000',
      left: '#000',
    }}
    status={{
      top: true,
      bottom: true,
      left: true,
      right: true,
      center: true,
    }}
    tip={{
      top: 'top',
      right: 'right',
      bottom: 'bottom',
      left: 'left',
    }}
  />
);
```