Skip to content

Normalize icon export names with Icon suffix aliases #1584

@rishiraj38

Description

@rishiraj38

A few icon exports in src/icons/ don't follow the standard *Icon naming convention used across the MUI/React ecosystem. This causes confusion downstream — during Meshery reviews we kept having to manually verify whether these names were valid exports or typos.

What needs to change

We just need to add alias exports alongside the existing ones. Nothing gets removed or renamed — fully backward-compatible.

Current export Alias to add File
AccessTime AccessTimeIcon src/icons/AccessTime/index.ts
ChevronLeft ChevronLeftIcon src/icons/ChevronLeft/index.ts
ChevronRight ChevronRightIcon src/icons/ChevronRight/index.ts
FullScreenIconExit FullScreenExitIcon src/icons/Fullscreen/index.ts
GroupAdd GroupAddIcon src/icons/GroupAdd/index.ts
MesheryOperator MesheryOperatorIcon src/icons/MesheryOperator/index.ts
BarchartIcon BarChartIcon src/icons/Barchart/index.ts

Example change

Each file is a one-liner addition. For example, src/icons/AccessTime/index.ts:

 export { default as AccessTime } from './AccessTimeIcon';
+export { default as AccessTimeIcon } from './AccessTimeIcon';

Contributor Guides and Resources

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions