Skip to content

Commit

Permalink
feat(DashboardFeatureWrapper): Add more icons (#1560)
Browse files Browse the repository at this point in the history
Add icon X, Y, Z angle, and add icon side
  • Loading branch information
xrust83 authored Oct 1, 2022
1 parent 8c62059 commit ba978e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/dashboard-page/DashboardFeatureWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ const typeToClassMap = {
away_mode: ['fa-plane', 'text-info'],
vibration: ['fa-water fa-rotate-270'],
power_outage_count: ['fa-plug-circle-xmark'],
angle_x: ['fa-x'],
angle_y: ['fa-y'],
angle_z: ['fa-z'],
side: ['fa-cube'],
};

const getGenericFeatureIcon = (name: string, value: unknown): string => {
Expand Down

0 comments on commit ba978e0

Please sign in to comment.