Incorrect type definition for WPNoticeAction and missing docs for type option for notices #17203
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Package] Notices
/packages/notices
[Status] In Progress
Tracking issues with work in progress
[Type] Developer Documentation
Documentation for developers
type
property which isn't documented yet. The default value is'default'
but can also be'snackbar'
. Should be documented ingutenberg/packages/notices/src/store/selectors.js
Lines 17 to 34 in 5920ab8
gutenberg/packages/notices/src/store/actions.js
Lines 11 to 33 in 4956082
WPNoticeAction
,callback
should beonClick
, see https://github.com/WordPress/gutenberg/blob/master/packages/components/src/snackbar/index.js#L55-L63.The text was updated successfully, but these errors were encountered: