Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compareFunction to change order of sections #21

Merged
merged 1 commit into from
Oct 7, 2016
Merged

Add compareFunction to change order of sections #21

merged 1 commit into from
Oct 7, 2016

Conversation

marxsk
Copy link

@marxsk marxsk commented Aug 24, 2016

Hi,

This PR fixes the issue #20 at least the sort part of it. I was not able to find out the width of the rendered section title before rendering, so if anyone wants to use multiple characters on side, it is required to change width in the styles manually.

PR adds property 'compareFunction(a,b)' as used in sort(). Afterwards, it is possible to have sorted sections without requirement them in a specific order.

@sibelius
Copy link
Collaborator

sibelius commented Oct 6, 2016

@sunnylqm looks good to me

@sunnylqm sunnylqm merged commit 07ad23c into i6mi6:master Oct 7, 2016
@sunnylqm
Copy link
Collaborator

sunnylqm commented Oct 7, 2016

@sibelius I'd like to transfer this repo (both github and npm). Are you interested?

@sibelius
Copy link
Collaborator

sibelius commented Oct 7, 2016

@sunnylqm I think it is better to transfer it to @react-native-community cc @satya164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants