mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-27 23:09:35 +02:00
Cleaned up Apps component. Delete App redux action. Apps edit mode with functionality do delete and pin apps
This commit is contained in:
parent
7e540587a5
commit
cb0b4b495f
10 changed files with 225 additions and 52 deletions
|
@ -4,6 +4,7 @@ import { Icon as MDIcon } from '@mdi/react';
|
|||
|
||||
interface ComponentProps {
|
||||
icon: string;
|
||||
color?: string;
|
||||
}
|
||||
|
||||
const Icon = (props: ComponentProps): JSX.Element => {
|
||||
|
@ -16,8 +17,10 @@ const Icon = (props: ComponentProps): JSX.Element => {
|
|||
}
|
||||
|
||||
return (
|
||||
<MDIcon className={classes.Icon}
|
||||
<MDIcon
|
||||
className={classes.Icon}
|
||||
path={iconPath}
|
||||
color={props.color ? props.color : 'var(--color-primary)'}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue