New source found from dndbeyond.com

This commit is contained in:
2026-07-08 01:00:09 -07:00
parent 9a983a6d7b
commit dcefa0d2f2
2865 changed files with 222467 additions and 49053 deletions
+5 -2
View File
@@ -64,7 +64,7 @@ export const Select: FC<SelectProps> = ({
}
// If value is string, show string
else if (!multiple && value) {
return value;
return options.find((option) => option.value === value)?.label || value;
}
// If there is no value, show the placeholder
else {
@@ -114,7 +114,10 @@ export const Select: FC<SelectProps> = ({
type="radio"
name={name}
value={option.value}
onChange={(e) => onChange?.(e)}
onChange={(e) => {
onChange?.(e);
setIsVisible(false);
}}
checked={value === option.value}
/>
{option.label}