Bookmark group deletion update; Icon updates

This commit is contained in:
Sean Edmunds
2025-04-07 17:29:54 -05:00
parent b9d6ec1f3a
commit a03b87245f
6 changed files with 63 additions and 25 deletions

View File

@@ -1,11 +1,11 @@
import { Icon } from '@iconify/react';
import { ActionIcon, Box, Stack, Text, Tooltip } from '@mantine/core';
import { useCommonHooks } from 'hooks';
import { useState } from 'react';
import { FiAlertCircle } from 'react-icons/fi';
import { actionIconClasses, boxClasses, textClasses } from 'styles';
function AppSettingsItem({ url, icon, name, enabled }: any) {
function AppSettingsItem({ url, icon, name, enabled, allIcons }: any) {
const Icon = allIcons[icon];
const [textDecoration, setTextDecoration] = useState<string>('none');
const [hover, setHover] = useState<boolean>(false);
const { isMobile, theme } = useCommonHooks();
@@ -58,7 +58,7 @@ function AppSettingsItem({ url, icon, name, enabled }: any) {
paddingTop: isMobile ? '0' : '32px',
}}
>
<Icon icon={`mdi:${icon}`} height={64} width={64} />
{Icon && <Icon style={{ height: '64px', width: '64px' }} />}
</Stack>
<Stack
style={{