Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Post.js
- ...
- <Text size="large" bold>
- {`${rank}. `}
- <RouterText to="post" size="large" bold {//HERE I WANT ALL PROPS EXCEPT RANK}>
- {`${title}`}
- </RouterText>
- {url && (
- <Link href={url} target="_blank">
- <LinkIcon type="link" />
- </Link>
- ...
- Text.js
- ...
- export const RouterText = Text.withComponent(RouterLink);
- ...
- PostDetails.js
- // HERE I WANT ALL PROPS FROM FeedPost (i.e. all props for Post.js except for rank)
- const PostDetails = () => (
- <Row type="flex" align="middle">
- This will be the post details page. Hello there, World.
- </Row>
- );
Add Comment
Please, Sign In to add comment