Props incorrectly documented for FocalPointPicker #16056
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Developer Documentation
Documentation for developers
Describe the bug
The docs for
components/focal-point-picker
state thatdimensions
is both a property, and required.It appears that that prop was replaced with an internal function to get the dimensions from the DOM itself.
This should probably be removed to avoid confusion.
The relevant portion of the outdated docs:
gutenberg/packages/components/src/focal-point-picker/README.md
Lines 52 to 56 in a57202e
The relevant portion of the code:
gutenberg/packages/components/src/focal-point-picker/index.js
Lines 57 to 63 in a57202e
The text was updated successfully, but these errors were encountered: