New source found from dndbeyond.com
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import Color from "color";
|
||||
import * as React from "react";
|
||||
import { ComponentProps, ComponentType, PureComponent } from "react";
|
||||
|
||||
import { ThemedSvgProps } from "./hocTypings";
|
||||
import { getDisplayName } from "./utils";
|
||||
|
||||
export function asThemedWithOpacitySvg<
|
||||
C extends React.ComponentType<React.ComponentProps<C>>,
|
||||
ResolvedProps = JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>
|
||||
C extends ComponentType<ComponentProps<C>>
|
||||
>(WrappedComponent: C) {
|
||||
return class AsThemedWithOpacitSvg extends React.PureComponent<ThemedSvgProps> {
|
||||
return class AsThemedWithOpacitSvg extends PureComponent<ThemedSvgProps> {
|
||||
static displayName = `asThemedWithOpacitySvg(${getDisplayName(
|
||||
WrappedComponent
|
||||
)})`;
|
||||
|
||||
Reference in New Issue
Block a user