forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topic edit modal: Add "disabled", "isPressHandledWhenDisabled" to Zul…
…ipTextButton Previously, callers of ZulipTextButton haven't needed a "disabled" prop. We're adding one now to 1) prevent users from submitting an empty field in the new topic edit UI and to 2) visually indicate the text button is disabled. It's also generally useful to have a "disabled" prop on a button. We're also adding "isPressHandledWhenDisabled" to avoid passing a handler that does nothing when the button is disabled.
- Loading branch information
Leslie Ngo
authored and
Leslie Ngo
committed
Nov 4, 2022
1 parent
77a645f
commit 0433c2a
Showing
1 changed file
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters