content: import React from 'react';
  import { View, TouchableOpacity} from 'react-native';
  import {Path} from 'react-native-svg';
  import SvgIcon from 'ui/SvgIcon';
  import AppStyles from 'dedicate/AppStyles';
  
  export default class ButtonCheck extends React.Component {
      constructor(props){
          super(props);
      }
  
      render() {
          const color = this.props.color || AppStyles.color;
          return (
              <TouchableOpacity onPress={this.props.onPress}>
                  <View style={[this.props.style]}>
                      <SvgIcon {...this.props}>
                          <Path fill={color} d="M 64 6 L 54 0 26 46 8 28 0 36 28 64 64 6 Z"/>
                      </SvgIcon>
                  </View>
              </TouchableOpacity>
          );
      }
  }