-
Notifications
You must be signed in to change notification settings - Fork 22
feat: add passive flag and alt to img #309
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. |
yuberdysheva
left a comment
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.
I'm not sure about where we should storage names of frames and alts, maybe it has to be some i18n or variables? I want to check it with @gorgeousvlad
src/components/Image/Image.tsx
Outdated
| const { | ||
| src, | ||
| alt, | ||
| alt = 'image alt', |
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.
Maybe we have to name alt consistent? I saw names started with Capital letters and this one starts with lowercase letter
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.
done, Capital letter
…ravity-ui/page-constructor into add_alt_image_and_passive_flag
389ab7a to
8498fe6
Compare
No description provided.