import * as React from "react"; import { Tooltip } from "@dndbeyond/character-common-components/es"; import { CharacterTheme } from "@dndbeyond/character-rules-engine/es"; import { PositiveResistanceSvg, DarkModePositiveResistanceSvg, } from "../../Svg"; interface SvgInjectedProps { className?: string; } interface Props { title: string; className: string; theme?: CharacterTheme; secondaryFill?: string; } export default class ResistanceIcon extends React.PureComponent { static defaultProps = { title: "Resistance", className: "", theme: {}, }; render() { const { title, className, theme } = this.props; let classNames: Array = [className, "ddbc-resistance-icon"]; let SvgIcon: React.ComponentType = theme?.isDarkMode ? DarkModePositiveResistanceSvg : PositiveResistanceSvg; return ( ); } }