import { PureComponent, PropsWithChildren } from "react"; interface Props extends PropsWithChildren { className: string; viewBox: string; preserveAspectRatio?: string; } export default class BaseSvg extends PureComponent { static defaultProps = { className: "", viewBox: "0 0 100 100", }; render() { const { className, viewBox, children, preserveAspectRatio } = this.props; let classNames: Array = ["ddbc-svg", className]; return ( {children} ); } }