-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds the ability to intercept and modify options each time they applied from any command. This feature comes in handy when there are guidelines need to be enforced when multiple developers are working together on different modules (or not). - Add `Navigation.addOptionProcessor(optionPath: string, processor: (value: T, commandName: string) => T)` - When the specific option path is being processed, the processor function gets called and the processor has the option to manipulate this specific option value by returning a new one. It also receives the specific command name which triggered that option processing. - Fix wallaby `optionPath` examples: `topBar.title.color`, `bottomTabs.backgroundColor`.
- Loading branch information
Showing
10 changed files
with
327 additions
and
127 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
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
Oops, something went wrong.