Add deprecation warnings for showCancelButton

refactor(searchbar): add deprecation warnings for showCancelButton (#18938)
Add deprecation warnings for showCancelButtonrefactoradd deprecation warnings showcancelbutton searchbar

Committed by brandyscarney

commit message
refactor(searchbar): add deprecation warnings for showCancelButton (#18938)

Editor assessment

The subject states the deprecation work exactly: warnings were added for the showCancelButton option in the searchbar, which tells maintainers the option is on its way out without any behavior yet removed. refactor(searchbar) is a defensible type for warning instrumentation, and the scope is exact. No body or footer, and while pointing at the replacement option would help users, the pull number gives provenance. Wording is compact and clean. Proportionate for a deprecation step.

Browse categories

More refactor examples · Back to search