Skip to content

Instantly share code, notes, and snippets.

@natew
Created April 17, 2015 03:17
Show Gist options
  • Save natew/36c10334e890b923e2df to your computer and use it in GitHub Desktop.
Save natew/36c10334e890b923e2df to your computer and use it in GitHub Desktop.
return (
<ListItem.item
key={key || index}
onTap={this.handleTap.bind(this)}
title={article.get('title')}
after={articleRight}
index={index}
noicon
{...props}>
{stats}
</ListItem>
);
}
}
const styles = {
'.item': {
self: {
flexFlow: 'row',
flexWrap: 'nowrap',
width: '100%'
},
content: {
paddingTop: 12,
paddingBottom: 12
},
after: {
margin: 0,
padding: 0,
flexGrow: 1,
WebkitFlexGrow: 1,
width: '66px',
zIndex: 3,
position: 'relative'
},
children: {
WebkitLineClamp: 'none'
}
},
@natew
Copy link
Author

natew commented Apr 17, 2015

    return (
      <ListItem.item
        key={key || index}
        onTap={this.handleTap.bind(this)}
        title={article.get('title')}
        after={articleRight}
        index={index}
        noicon
        {...props}>
        {stats}
      </ListItem>
    );
  }
}

styles`
  .item {
    .self {
      flex-flow: row;
      flex-wrap: nowrap;
      width: 100%;
    }

    .content {
      padding-top: 12;
      padding-bottom: 12;
    }
  }
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment