import Color from "color"; import { ComponentProps, ComponentType, PureComponent } from "react"; import { ThemedSvgProps } from "./hocTypings"; import { getDisplayName } from "./utils"; export function asThemedWithOpacitySvg< C extends ComponentType> >(WrappedComponent: C) { return class AsThemedWithOpacitSvg extends PureComponent { static displayName = `asThemedWithOpacitySvg(${getDisplayName( WrappedComponent )})`; static defaultProps = { className: "ddbc-svg--themed", }; render() { return ( ); } }; }