|
|
@ -13,7 +13,7 @@ interface IconProps { |
|
|
|
from: string |
|
|
|
from: string |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const HomeIcon: React.FC<IconProps> = ({from}: IconProps) => { |
|
|
|
const HomeIcon = ({from}: IconProps) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<NavLink |
|
|
|
<NavLink |
|
|
|
data-id="home" |
|
|
|
data-id="home" |
|
|
@ -31,7 +31,7 @@ const HomeIcon: React.FC<IconProps> = ({from}: IconProps) => { |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const ReceiptsIcon: React.FC<IconProps> = ({from}: IconProps) => { |
|
|
|
const ReceiptsIcon = ({from}: IconProps) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<NavLink |
|
|
|
<NavLink |
|
|
|
data-id="receipts" |
|
|
|
data-id="receipts" |
|
|
@ -49,7 +49,7 @@ const ReceiptsIcon: React.FC<IconProps> = ({from}: IconProps) => { |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const SettingsIcon: React.FC<IconProps> = ({from}: IconProps) => { |
|
|
|
const SettingsIcon = ({from}: IconProps) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<NavLink |
|
|
|
<NavLink |
|
|
|
data-id="settings" |
|
|
|
data-id="settings" |
|
|
@ -67,7 +67,7 @@ const SettingsIcon: React.FC<IconProps> = ({from}: IconProps) => { |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const HeaderWithSettings: React.FC<Props> = ({title = '', from}) => { |
|
|
|
export const HeaderWithSettings = ({title = '', from}) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="d-flex justify-content-between"> |
|
|
|
<div className="d-flex justify-content-between"> |
|
|
|
<h6 className="d-inline">{title}</h6> |
|
|
|
<h6 className="d-inline">{title}</h6> |
|
|
|