import React from 'react'; import { requireNativeComponent } from 'react-native'; import { processColorProps } from '../utils'; import { Point } from '../interfaces'; export interface CircleProps { fillColor?: string; strokeColor?: string; strokeWidth?: number; zIndex?: number; onPress?: () => void; center: Point; radius: number; children?: undefined; } const NativeCircleComponent = requireNativeComponent('YamapCircle'); export class Circle extends React.Component { static defaultProps = { }; render() { const props = { ...this.props }; processColorProps(props, 'fillColor' as keyof CircleProps); processColorProps(props, 'strokeColor' as keyof CircleProps); return ; } }