<commit_before>import React from 'react';
import {NavigationLink} from 'navigation-react';
import {SharedElement} from 'navigation-react-mobile';

const colors = [
  'maroon', 'red', 'crimson', 'orange', 'brown', 'sienna', 'olive',
  'purple', 'fuchsia', 'indigo', 'green', 'navy', 'blue', 'teal', 'black'
];

export default ({stateNavigator}) => (
  <div>
    <div>
      {colors.map(color => (
        <SharedElement
          key={color}
          name={color}
          data={{color}}
          stateNavigator={stateNavigator}>
          <NavigationLink
            style={{backgroundColor: color}}
            stateKey="detail"
            navigationData={{color}}
            stateNavigator={stateNavigator}>
            <div>
              <SharedElement
                data={{color, fontSize: 20, fontColor: '#fff'}}
                name={`text${color}`}
                stateNavigator={stateNavigator}>
                <div>{color}</div>
              </SharedElement>
            </div>
          </NavigationLink>
        </SharedElement>
      ))}
    </div>
  </div>
);
<commit_msg>Wrapped shared el child in a div<commit_after>import React from 'react';
import {NavigationLink} from 'navigation-react';
import {SharedElement} from 'navigation-react-mobile';

const colors = [
  'maroon', 'red', 'crimson', 'orange', 'brown', 'sienna', 'olive',
  'purple', 'fuchsia', 'indigo', 'green', 'navy', 'blue', 'teal', 'black'
];

export default ({stateNavigator}) => (
  <div>
    <div>
      {colors.map(color => (
        <SharedElement
          key={color}
          name={color}
          data={{color}}
          stateNavigator={stateNavigator}>
          <div>
            <NavigationLink
              style={{backgroundColor: color}}
              stateKey="detail"
              navigationData={{color}}
              stateNavigator={stateNavigator}>
              <div>
                <SharedElement
                  data={{color, fontSize: 20, fontColor: '#fff'}}
                  name={`text${color}`}
                  stateNavigator={stateNavigator}>
                  <div>{color}</div>
                </SharedElement>
              </div>
            </NavigationLink>
          </div>
        </SharedElement>
      ))}
    </div>
  </div>
);

{'fraction_non_alphanumeric': 0.15713028169014084, 'fraction_numerical': 0.0017605633802816902, 'mean_word_length': 1.9829396325459319, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2353716', 'n_tokens_mistral': 652, 'n_tokens_neox': 641, 'n_words': 132}