New source found from dndbeyond.com

This commit is contained in:
2025-07-09 01:00:11 -07:00
parent b7f7f4a655
commit 151590af7a
18 changed files with 150 additions and 45 deletions
@@ -4,6 +4,7 @@ interface Props {
label: string;
value: React.ReactNode;
extraValue: React.ReactNode;
displayColon?: boolean;
}
export default class VehicleBlockAttribute extends React.PureComponent<Props> {
static defaultProps = {
@@ -11,11 +12,15 @@ export default class VehicleBlockAttribute extends React.PureComponent<Props> {
};
render() {
const { label, value, extraValue } = this.props;
const { label, value, extraValue, displayColon } = this.props;
const labelDisplay: string = displayColon ? `${label}:` : label;
return (
<div className="ct-vehicle-block__attribute">
<span className="ct-vehicle-block__attribute-label">{label}</span>
<span className="ct-vehicle-block__attribute-label">
{labelDisplay}
</span>
<span className="ct-vehicle-block__attribute-data">
<span className="ct-vehicle-block__attribute-data-value">
{value}