-
-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #380 Add `resetButton` option to `GeoSearchControl` to allow changing the cross icon. * Add `resetButton` option to `SearchControlProps` interface in `src/SearchControl.ts`. * Update `defaultOptions` to include `resetButton` with default value '×' in `src/SearchControl.ts`. * Update `resetButton` element creation to use `resetButton` option value in `src/SearchControl.ts`. * Add documentation for `resetButton` option in the `GeoSearchControl` section in `docs/usage.mdx`.
- Loading branch information
1 parent
19e575c
commit fe53f39
Showing
2 changed files
with
4 additions
and
1 deletion.
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