import { visuallyHidden } from "@mui/utils"; import React from "react"; import { BoxBackground, SquaredBoxSvg228x338, SquaredBoxSvg278x338, } from "@dndbeyond/character-components/es"; import { CharacterTheme, ProficiencyGroup, } from "@dndbeyond/character-rules-engine/es"; import { StyleSizeTypeEnum } from "../../../Shared/reducers/appEnv"; import { AppEnvDimensionsState } from "../../../Shared/stores/typings"; import ProficiencyGroups from "../ProficiencyGroups"; interface Props { dimensions: AppEnvDimensionsState; theme: CharacterTheme; proficiencyGroups: Array; onClick?: () => void; } export default class ProficiencyGroupsBox extends React.PureComponent { render() { const { dimensions, theme, proficiencyGroups, onClick } = this.props; let BoxBackgroundComponent: React.ComponentType = SquaredBoxSvg228x338; if ( dimensions.styleSizeType > StyleSizeTypeEnum.DESKTOP || dimensions.styleSizeType <= StyleSizeTypeEnum.TABLET ) { BoxBackgroundComponent = SquaredBoxSvg278x338; } return (

Proficiencies and Languages

); } }