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

Active styles + different header when expanded #38

Closed
wants to merge 3 commits into from

Conversation

ntwcklng
Copy link

Should close #9.

Not sure about the styles - maybe style={[this.props.style, this.state.is_visible && this.props.styleOpen]} would be better, so the initial styles gets overwritten?
In most cases you just want to change the backgroundColor or something like that and keep the other styles.

@compojoom
Copy link

That's cool! Hope that it will be merged.

compojoom added a commit to compojoom/react-native-accordion that referenced this pull request Nov 21, 2016
@ntwcklng
Copy link
Author

ping @naoufal

@ntwcklng ntwcklng closed this Feb 26, 2017
@ntwcklng ntwcklng deleted the active-styles branch February 26, 2017 11:39
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.

Set style for active/expanded?
2 participants