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

fix bug renderFooter #1294

Merged
merged 1 commit into from May 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/list/index.tsx
Expand Up @@ -42,7 +42,7 @@ export default class List extends React.Component<ListProps, any> {
headerDom = <View>{content}</View>;
}
if (renderFooter) {
let content = typeof renderHeader === 'function' ? renderFooter() : renderFooter;
let content = typeof renderFooter === 'function' ? renderFooter() : renderFooter;
if (typeof content === 'string') {
content = <Text style={styles.Footer}>{content}</Text>;
}
Expand Down