import * as React from "react";
import { FunctionComponent } from "react";
import { View, ViewStyle } from "react-native";

const StoneView: FunctionComponent<{ color: string, style?: ViewStyle }> = ({ color, style }) => {
  return (
    <View style={[{
      backgroundColor: color,
      margin: 1,
      width: 10,
      height: 10,
      borderRadius: 10,
    }, style]}>
    </View>
  );
};

export default StoneView;