import * as React from "react"; import { ThemedSvgProps } from "./hocTypings"; import { getDisplayName } from "./utils"; export function asThemedSvg< C extends React.ComponentType>, ResolvedProps = JSX.LibraryManagedAttributes> >(WrappedComponent: C) { return class AsThemedSvg extends React.PureComponent { static displayName = `asThemedSvg(${getDisplayName(WrappedComponent)})`; static defaultProps = { className: "ddbc-svg--themed", }; render() { return ( ); } }; }