Skip to content

Commit

Permalink
feat(dashboard): add icons for some features
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Oct 8, 2023
1 parent e4dbcf1 commit af18d47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/dashboard-page/DashboardFeatureWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ const typeToClassMap = {
away_mode: ['fa-plane', 'text-info'],
vibration: ['fa-water fa-rotate-270'],
power_outage_count: ['fa-plug-circle-xmark'],
action: ['fa-a'],
angle_x: ['fa-x'],
angle_y: ['fa-y'],
angle_z: ['fa-z'],
side: ['fa-cube'],
humidity_alarm: ['fa-triangle-exclamation'],
temperature_alarm: ['fa-triangle-exclamation'],
};

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

0 comments on commit af18d47

Please sign in to comment.