Skip to content

Commit

Permalink
fix: rn-card footer extra bug, close #969
Browse files Browse the repository at this point in the history
  • Loading branch information
silentcloud committed Mar 9, 2017
1 parent 8a3709f commit 4bf3347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/card/CardFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default class CardFooter extends React.Component<CardFooterProps, any> {
);

const extraDom = React.isValidElement(extra) ? (
<View style={{ flex: 1 }}>{content}</View>
<View style={{ flex: 1 }}>{extra}</View>
) : (
<Text style={[styles.footerExtra]}>{extra}</Text>
);
Expand Down

0 comments on commit 4bf3347

Please sign in to comment.