Merge pull request #1395 from hackclub/claynicholson-patch-1

Update PartTag.js
This commit is contained in:
Clay Nicholson 2024-10-09 18:20:41 +00:00 committed by GitHub
commit 7cdd8ecb8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -132,6 +132,10 @@ const PartTag = ({ partID, search = false, addFilter, removeFilter}) => {
backgroundColor = '#4682B4'; // Vibrant light steel blue
text = '4 Digit Display';
break;
case "recltWikgPdLvpJfe":
backgroundColor = '#65f09f'
text = 'Stepper Motor';
break;
default:
backgroundColor = 'gray'; // Default gray
text = 'Invalid Tag';
@ -148,4 +152,4 @@ const PartTag = ({ partID, search = false, addFilter, removeFilter}) => {
)
}
export default PartTag
export default PartTag