Skip to content

Conversation

@edmofro
Copy link

@edmofro edmofro commented Jun 15, 2016

Allows users of NavigationCardStack to override the cards’ styles. Motivated by the need to change the NavigationCard backgroundColor.

@ghost
Copy link

ghost commented Jun 15, 2016

By analyzing the blame information on this pull request, we identified @hedgerwang and @gabelevi to be potential reviewers.

@ghost ghost added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jun 15, 2016
onNavigateBack: PropTypes.func,
renderOverlay: PropTypes.func,
renderScene: PropTypes.func.isRequired,
cardStyle: React.propTypes.style,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

property propTypes Property not found in module react

onNavigateBack: PropTypes.func,
renderOverlay: PropTypes.func,
renderScene: PropTypes.func.isRequired,
cardStyle: React.View.propTypes.style,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

property View Property not found in module react

stam added a commit to CodeYellowBV/react-native that referenced this pull request Jun 28, 2016
This allows the NavigationCard style to be extended, the default
backgroundColor style is not applicable to all apps.
Fixes issue facebook#8116. PR facebook#8115 was already made for this but didn't pass
the CI checks.
@edmofro
Copy link
Author

edmofro commented Jun 29, 2016

Closing in favour of #8471, which passes CI checks

@edmofro edmofro closed this Jun 29, 2016
ghost pushed a commit that referenced this pull request Jul 1, 2016
Summary:
This allows the `NavigationCard` style to be extended, the default `backgroundColor` style of the `NavigationCard` is not applicable to all apps.
Fixes issue #8116. PR #8115 was already made for this but didn't pass CI checks.

**Test plan**

When rendering a NavigationCardStack, add

```
const { CardStack } = NavigationExperimental;
...

<CardStack cardStyle={{ backgroundColor: 'purple' }} />
```

to see that the `NavigationCard` background has changed to purple.
Closes #8471

Differential Revision: D3508849

Pulled By: javache

fbshipit-source-id: 65703cccf3d01def9f2060256f0ff564bbdc47d3
bubblesunyum pushed a commit to iodine/react-native that referenced this pull request Aug 23, 2016
Summary:
This allows the `NavigationCard` style to be extended, the default `backgroundColor` style of the `NavigationCard` is not applicable to all apps.
Fixes issue facebook#8116. PR facebook#8115 was already made for this but didn't pass CI checks.

**Test plan**

When rendering a NavigationCardStack, add

```
const { CardStack } = NavigationExperimental;
...

<CardStack cardStyle={{ backgroundColor: 'purple' }} />
```

to see that the `NavigationCard` background has changed to purple.
Closes facebook#8471

Differential Revision: D3508849

Pulled By: javache

fbshipit-source-id: 65703cccf3d01def9f2060256f0ff564bbdc47d3
mpretty-cyro pushed a commit to HomePass/react-native that referenced this pull request Aug 25, 2016
Summary:
This allows the `NavigationCard` style to be extended, the default `backgroundColor` style of the `NavigationCard` is not applicable to all apps.
Fixes issue facebook#8116. PR facebook#8115 was already made for this but didn't pass CI checks.

**Test plan**

When rendering a NavigationCardStack, add

```
const { CardStack } = NavigationExperimental;
...

<CardStack cardStyle={{ backgroundColor: 'purple' }} />
```

to see that the `NavigationCard` background has changed to purple.
Closes facebook#8471

Differential Revision: D3508849

Pulled By: javache

fbshipit-source-id: 65703cccf3d01def9f2060256f0ff564bbdc47d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants