-
Notifications
You must be signed in to change notification settings - Fork 17
Feat. image block #51
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
packages/react-notion-custom/src/lib/components/image/image-viewer-tools.tsx
Outdated
Show resolved
Hide resolved
| hint={`${currentImageIndex + 2} of ${imageLength} `} | ||
| disabled={!hasNext} | ||
| > | ||
| <motion.button |
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.
p2: I think motion.button is not neccessary. you can use just button
|
|
||
| <div className="notion-image-viewer-scaler"> | ||
| <Tooltip content="Zoom out" hint="-"> | ||
| <motion.button |
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.
p2: I think motion.button is not neccessary. you can use just button
| <span>%</span> | ||
| </div> | ||
| ) : ( | ||
| <motion.button |
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.
p2: I think motion.button is not neccessary. you can use just button
Description of Changes
Here is reference: #25
support 'custom your created image' block
-> add custom solution for rendering 'image'
Review point
To reproduce
Screenshot
E1.84.92.E1.85.AA.E1.84.86.E1.85.A7.E1.86.AB.20.E1.84.80.E1.85.B5.E1.84.85.E1.85.A9.E1.86.A8.202024-10-02.20.E1.84.8B.E1.85.A9.E1.84.8C.E1.85.A5.E1.86.AB.201.mp4
Review Guide
Reviews are conducted based on priority levels, such as p0, p1, p2, p3, p4, and p5.
p0 ~ p2: If the author decides not to reflect a review for p0 to p2, it signals that a proper discussion with the reviewer is
necessary. It is expected that the review will be resolved either through incorporating the feedback or through further discussion.
p3: indicates that the reviewer has identified a significant issue, but either lacks a clear solution or the comment lacks sufficient context. Further explanation or additional discussion on the reviewer's concerns is needed.
p4, p5: p4 and p5 suggest low priority, and if the author does not deem them important, these comments can be disregarded.