Grabbed dndbeyond's source code
``` ~/go/bin/sourcemapper -output ddb -jsurl https://media.dndbeyond.com/character-app/static/js/main.90aa78c5.js ```
This commit is contained in:
+46
@@ -0,0 +1,46 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../hocs";
|
||||
|
||||
export default class AttunementSlotBoxSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-attunement-slot-box-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 247.1 50">
|
||||
<defs>
|
||||
<rect id="SVGID_1_" x="-38.5" y="-152.3" width="612" height="792" />
|
||||
</defs>
|
||||
<clipPath id="SVGID_2_">
|
||||
<use xlinkHref="#SVGID_1_" style={{ overflow: "visible" }} />
|
||||
</clipPath>
|
||||
<path
|
||||
fill={fillColor}
|
||||
clipPath="url(#SVGID_2_)"
|
||||
d="M27.3,8c1.4,1.2,3.1,2.4,5.2,3.2c2,0.8,4.2,1.1,6.5,1.1c2.8,3.5,4.5,7.9,4.5,12.8c0,4.8-1.7,9.3-4.5,12.8
|
||||
c-2.3-0.1-4.4,0.3-6.5,1.1c-2.1,0.8-3.8,1.9-5.2,3.2c-2,0.7-6.2,1.9-11.3,2.1C8.4,41.1,2.9,33.7,2.9,25c0-8.7,5.5-16.1,13.2-19
|
||||
C21.1,6.1,25.3,7.3,27.3,8 M49.7,9.3L49.7,9.3l180.8,0c3.5,1.3,12.5,5.1,14.7,10.7v5v5c-2.1,5.5-11.2,9.4-14.7,10.7H49.7l0,0
|
||||
c-2.6-1.3-5-2.1-7.4-2.6c2.6-3.7,4.1-8.3,4.1-13.1s-1.5-9.4-4.1-13.1C44.7,11.4,47.2,10.6,49.7,9.3 M40.3,9.3h6.8
|
||||
c-1.9,0.8-3.7,1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9,1.8c0.2,0.9,0.7,2,1.9,3.2c4.4,0.8,8.3,3,11.2,6.2c-1.8-0.1-3.5-0.5-5.1-1c-5.6-1.6-10-9.8-10-9.8
|
||||
C22.8,0.1,22.5-0.1,22.2,0"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { asEmptySvg, asThemedSvg, asThemedWithOpacitySvg } from "../../hocs";
|
||||
import AttunementSlotBoxSvg from "./AttunementSlotBoxSvg";
|
||||
|
||||
const EmptyAttunementSlotBoxSvg = asEmptySvg(AttunementSlotBoxSvg);
|
||||
const ThemedAttunementSlotBoxSvg = asThemedSvg(AttunementSlotBoxSvg);
|
||||
const ThemedWithOpacityAttunementSlotBoxSvg =
|
||||
asThemedWithOpacitySvg(AttunementSlotBoxSvg);
|
||||
|
||||
export default AttunementSlotBoxSvg;
|
||||
export {
|
||||
AttunementSlotBoxSvg,
|
||||
EmptyAttunementSlotBoxSvg,
|
||||
ThemedAttunementSlotBoxSvg,
|
||||
ThemedWithOpacityAttunementSlotBoxSvg,
|
||||
};
|
||||
Reference in New Issue
Block a user