Add Location icon#212
Open
jmarrxyz wants to merge 1 commit into
Open
Conversation
Add a new Location (map pin) icon component to the shared icon library.
rongxin-liu
approved these changes
May 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Location (map pin) icon to the client shared icon library, making it available for reuse across ProtoOS/ProtoFleet UI components via the existing icons barrel export.
Changes:
- Added
client/src/shared/assets/icons/Location.tsximplementing a 20×20currentColorSVG icon component consistent with existing icon patterns. - Updated
client/src/shared/assets/icons/index.tsxto import and re-export the newLocationicon.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| client/src/shared/assets/icons/Location.tsx | New Location icon React component wrapping a 20×20 SVG pin. |
| client/src/shared/assets/icons/index.tsx | Exposes the new icon via the shared icons export surface. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
Location(map pin) icon component to the shared icon library.Changes
client/src/shared/assets/icons/Location.tsx— React component wrapping a 20×20 SVG location pin iconclient/src/shared/assets/icons/index.tsx— import and re-exportLocationDetails
The icon follows the existing icon conventions:
clsxfor className mergingdivwith configurablewidth(default:iconSizes.medium/ 20×20)currentColorwithfillOpacity="0.9"for theming supportpreserveAspectRatio="xMidYMid meet"for consistent scaling