text: import React, { Component, PropTypes } from 'react';
  import { TouchableOpacity, Text } from 'react-native';
  
  export default class Container extends Component {
    static propTypes = {
      name: PropTypes.any,
      toggle: PropTypes.func.isRequired,
      isShow: PropTypes.bool,
    }
  
    constructor(props) {
      super(props);
    }
  
    render() {
      const { toggle, name } = this.props;
  
      const icon = this.props.isShow ? '▼' : '▶';
  
      return (
        <TouchableOpacity onPress={toggle}>
          <Text>
            {icon} {name}{name ? ': ' : ''} Array
          </Text>
        </TouchableOpacity>
      );
    }
  }
  