1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 14:34:19 +00:00
pds-2021-g2-nest/nest_frontend/components/interactive/BoxVisualizationWordcloud.js
2021-05-20 12:16:01 +02:00

12 lines
376 B
JavaScript

import React, { useContext } from "react"
import BoxWordcloud from "../base/BoxWordcloud"
import ContextLanguage from "../../contexts/ContextLanguage"
export default function BoxVisualizationWordcloud({ words, ...props }) {
const { strings } = useContext(ContextLanguage)
return (
<BoxWordcloud header={strings.wordcloud} words={words} {...props}/>
)
}