mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-23 05:24:18 +00:00
10 lines
No EOL
253 B
JavaScript
10 lines
No EOL
253 B
JavaScript
import { useContext } from "react"
|
|
import ContextLanguage from "../contexts/ContextLanguage"
|
|
|
|
|
|
/**
|
|
* Hook to quickly use the strings of {@link ContextLanguage}.
|
|
*/
|
|
export default function useStrings() {
|
|
return useContext(ContextLanguage).strings
|
|
} |