<commit_before>import React from 'react';
import {View} from 'react-native';
import SharedElementMotion from './SharedElementMotion';
import spring from './spring';

const getStyle = ({x, y, w, h}) => ({
  x: spring(x, {precision: 10}),
  y: spring(y, {precision: 10}),
  w: spring(w, {precision: 10}),
  h: spring(h, {precision: 10}),
});


export default ({stateNavigator}) => (
  <SharedElementMotion
    toStyle={getStyle}
    stateNavigator={stateNavigator}>
    {({x, y, w, h}, sharedElement, name) => (
      <View
        key={name}
        style={{
          position: 'absolute',
          left: x,
          top: y,
          width: w,
          height: h,
          backgroundColor: name
        }}>
      </View>            
    )}
  </SharedElementMotion>
);<commit_msg>Added trailing comma to styles<commit_after>import React from 'react';
import {View} from 'react-native';
import SharedElementMotion from './SharedElementMotion';
import spring from './spring';

const getStyle = ({x, y, w, h}) => ({
  x: spring(x, {precision: 10}),
  y: spring(y, {precision: 10}),
  w: spring(w, {precision: 10}),
  h: spring(h, {precision: 10}),
});


export default ({stateNavigator}) => (
  <SharedElementMotion
    toStyle={getStyle}
    stateNavigator={stateNavigator}>
    {({x, y, w, h}, sharedElement, name) => (
      <View
        key={name}
        style={{
          position: 'absolute',
          left: x,
          top: y,
          width: w,
          height: h,
          backgroundColor: name,
        }}>
      </View>            
    )}
  </SharedElementMotion>
);
{'fraction_non_alphanumeric': 0.16456494325346785, 'fraction_numerical': 0.01008827238335435, 'mean_word_length': 2.518847006651885, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '6263393', 'n_tokens_mistral': 527, 'n_tokens_neox': 489, 'n_words': 138}