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:
@@ -0,0 +1,29 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../hocs";
|
||||
|
||||
export default class AttunementSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-attunement-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 18.54 16.05">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M9.27,0,0,16.05H18.54Zm1.25,11.53H8l-.49,1.54H6.08L8.54,5.93H10l2.45,7.14H11Z"
|
||||
/>
|
||||
<polygon
|
||||
fill={fillColor}
|
||||
points="9.26 7.6 8.37 10.41 10.17 10.41 9.29 7.6 9.26 7.6"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { asLightSvg, asDarkSvg } from "../../hocs";
|
||||
import { asGraySvg } from "../../hocs/asGraySvg";
|
||||
import AttunementSvg from "./AttunementSvg";
|
||||
|
||||
const LightAttunementSvg = asLightSvg(AttunementSvg);
|
||||
const DarkAttunementSvg = asDarkSvg(AttunementSvg);
|
||||
const GrayAttunementSvg = asGraySvg(AttunementSvg);
|
||||
|
||||
export default AttunementSvg;
|
||||
export {
|
||||
AttunementSvg,
|
||||
LightAttunementSvg,
|
||||
DarkAttunementSvg,
|
||||
GrayAttunementSvg,
|
||||
};
|
||||
Reference in New Issue
Block a user