-
Notifications
You must be signed in to change notification settings - Fork 3
feat: blog post header extra buttons #266
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
Conversation
|
Preview is ready. |
|
Playwright Test Component is ready. |
|
Do you think I could change test screenshots? https://storage.yandexcloud.net/playwright-reports/blog-constructor/pulls/266/index.html#?testId=5c8382d0e21e66a97f26-91eceb8d3ae5fa274d1f |
| icon: Icon, | ||
| text, | ||
| onClick, | ||
| render: renderChildren, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why don't we just keep only render? in it, the user will determine which icons are needed and from which side, etc.
src/components/PostInfo/PostInfo.tsx
Outdated
| analyticsEventsContainer, | ||
| }: PostInfoProps) => { | ||
| const {likes} = React.useContext(PostPageContext); | ||
| const {extraInfoButtons: extraButtons} = React.useContext(SettingsContext); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the extra renaming? maybe we need to named it extraInfoItems
No description provided.