New source found from dndbeyond.com
This commit is contained in:
+5
-2
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import { Checkbox, Select } from "@dndbeyond/character-components/es";
|
||||
import { Checkbox } from "@dndbeyond/character-components/es";
|
||||
import {
|
||||
BaseItemDefinitionContract,
|
||||
Constants,
|
||||
@@ -13,9 +13,11 @@ import {
|
||||
} from "@dndbeyond/character-rules-engine/es";
|
||||
|
||||
import { HtmlContent } from "~/components/HtmlContent";
|
||||
import { Select } from "~/components/Select";
|
||||
|
||||
import { TypeScriptUtils } from "../../../utils";
|
||||
import { StartingEquipmentRuleSlotSelection } from "../typings";
|
||||
import styles from "./styles.module.css";
|
||||
|
||||
interface Props {
|
||||
isMultiSlot: boolean;
|
||||
@@ -235,13 +237,14 @@ export default class StartingEquipmentRuleSlot extends React.PureComponent<Props
|
||||
contentNode = (
|
||||
<div className="starting-equipment-rule">
|
||||
<Select
|
||||
className={styles.select}
|
||||
options={groupedOptions}
|
||||
value={null}
|
||||
preventClickPropagating={true}
|
||||
onChange={this.handleRuleSelection.bind(
|
||||
this,
|
||||
ruleIdx
|
||||
)}
|
||||
name={`${name}-rule-${ruleIdx}`}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user