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,25 @@
|
||||
import React from "react";
|
||||
|
||||
import BaseSvg from "../../BaseSvg";
|
||||
import { InjectedSvgProps } from "../../hocs";
|
||||
|
||||
export default class CloseSvg extends React.PureComponent<InjectedSvgProps> {
|
||||
render() {
|
||||
const { fillColor, className } = this.props;
|
||||
|
||||
let classNames: Array<string> = ["ddbc-close-svg"];
|
||||
|
||||
if (className) {
|
||||
classNames.push(className);
|
||||
}
|
||||
|
||||
return (
|
||||
<BaseSvg className={classNames.join(" ")} viewBox="0 0 1092 1092">
|
||||
<path
|
||||
fill={fillColor}
|
||||
d="M849.9,990L990,849.9L639.9,499.9L990,150L849.9,10L499.9,359.9L150,10L10,150l349.9,349.9L10,849.9L150,990l349.9-350.1L849.9,990z"
|
||||
/>
|
||||
</BaseSvg>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import { asDarkSvg, asLightSvg, asPositiveSvg, asThemedSvg } from "../../hocs";
|
||||
import CloseSvg from "./CloseSvg";
|
||||
|
||||
const LightCloseSvg = asLightSvg(CloseSvg);
|
||||
const DarkCloseSvg = asDarkSvg(CloseSvg);
|
||||
const ThemedCloseSvg = asThemedSvg(CloseSvg);
|
||||
const PositiveCloseSvg = asPositiveSvg(CloseSvg);
|
||||
|
||||
export default CloseSvg;
|
||||
export {
|
||||
CloseSvg,
|
||||
LightCloseSvg,
|
||||
ThemedCloseSvg,
|
||||
DarkCloseSvg,
|
||||
PositiveCloseSvg,
|
||||
};
|
||||
Reference in New Issue
Block a user