Add renderCustomStats prop and expose setToastMessage API via refs to update toast

feat: Add renderCustomStats prop and expose setToastMessage API via refs to update toast (#3360)
Add renderCustomStats prop and expose setToastMessage API via refs to update toast0d818f-feat-add-rendercustomstats-prop-and-expose-settoastmessagefeatadd rendercustomstats prop expose settoastmessage api

Committed by ad1992

commit message
feat: Add renderCustomStats prop and expose setToastMessage API via refs to update toast (#3360)

* feat: Add renderCustomStats prop to render extra stats & move storage and version to renderCustomStats
 
* expose Api to update toast message so single instance of toast is used
 
* rename to setToastMessage
 
* update docs

Editor assessment

The subject is information-dense: a renderCustomStats prop added and a setToastMessage API exposed via refs, both naming their purpose. The feat type fits the dual addition, and the absent scope is tolerable. The body's bullets carry real content — storage and version moved into the custom stats renderer, and the toast API unified so a single instance is used — documenting design decisions rather than echoing the headline. The PR reference is well-formed. A good feature message whose body explains the consolidation rationale.

Browse categories

More feat examples · Back to search