This repository was archived by the owner on Jan 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1
1
import styles from "./Ikon.module.css" ;
2
+ import text from "../language/text" ;
3
+ import { LanguageContext } from "../provider/LanguageProvider" ;
4
+ import { useContext } from "react" ;
2
5
3
6
const BeskjedIkon = ( ) => {
7
+ const language = useContext ( LanguageContext ) ;
8
+
4
9
return (
5
10
< svg
6
11
className = { styles . varselIkon }
@@ -9,6 +14,7 @@ const BeskjedIkon = () => {
9
14
viewBox = "0 0 24 24"
10
15
fill = "none"
11
16
xmlns = "http://www.w3.org/2000/svg"
17
+ aria-label = { text [ "filterToggleItemBeskjed" ] [ language ] }
12
18
>
13
19
< rect width = "24" height = "24" rx = "4" fill = "#3380A5" />
14
20
< path
Original file line number Diff line number Diff line change 1
1
import styles from "./Ikon.module.css" ;
2
+ import text from "../language/text" ;
3
+ import { LanguageContext } from "../provider/LanguageProvider" ;
4
+ import { useContext } from "react" ;
2
5
3
6
const OppgaveIkon = ( ) => {
7
+ const language = useContext ( LanguageContext ) ;
8
+
4
9
return (
5
10
< svg
6
11
className = { styles . varselIkon }
@@ -9,6 +14,7 @@ const OppgaveIkon = () => {
9
14
viewBox = "0 0 24 24"
10
15
fill = "none"
11
16
xmlns = "http://www.w3.org/2000/svg"
17
+ aria-label = { text [ "filterToggleItemOppgave" ] [ language ] }
12
18
>
13
19
< rect width = "24" height = "24" rx = "4" fill = "#C77300" />
14
20
< path
You can’t perform that action at this time.
0 commit comments