style: Alarm UI Widget
This commit is contained in:
@@ -16,7 +16,7 @@ const AlarmIndicator = ({
|
||||
alarmLink,
|
||||
alarmText,
|
||||
animation = "pulse",
|
||||
pulseDuration = 0.5,
|
||||
pulseDuration = 0.5, // default: 1
|
||||
}) => {
|
||||
if (!hasAlarm || !alarmLink) return null;
|
||||
// Animation-Klasse wählen
|
||||
@@ -42,7 +42,7 @@ const AlarmIndicator = ({
|
||||
aria-label="Alarm aktiv"
|
||||
>
|
||||
<AlarmIcon
|
||||
className={`h-14 w-14 ${animationClass} text-red-800 bg-orange-500`}
|
||||
className={`h-14 w-14 mr-6 ${animationClass} text-red-800 bg-red-300`}
|
||||
style={style}
|
||||
/>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user