import React, { PureComponent } from "react";
import { View } from "react-native";
import stylez from "../styles";
import { FontAwesome } from "./Icon";
class TickIcon extends PureComponent {
  render() {
    const size = this.props.diameter || 20;
    const radius = size / 2;
    return /*#__PURE__*/React.createElement(View, {
      style: [stylez.tickBox, {
        height: size,
        width: size,
        borderRadius: radius
      }, this.props.color && {
        backgroundColor: this.props.color
      }, this.props.style]
    }, /*#__PURE__*/React.createElement(FontAwesome, {
      name: "check",
      style: stylez.tickIcon
    }));
  }
}
export { TickIcon };
//# sourceMappingURL=TickIcon.js.map