import { jsx as _jsx } from "react/jsx-runtime";
import { forwardRef } from 'react';
import CloudSpannerLogoLight from './CloudSpannerLogoLight';
import CloudSpannerLogoDark from './CloudSpannerLogoDark';
import { useThemeModification, useBrandModification } from '../../utils';
const CloudSpannerLogoSvg = forwardRef(function CloudSpannerLogoSvg(props, ref) {
    const { isDarkTheme } = useThemeModification();
    const { isDarkBrand } = useBrandModification();
    return isDarkTheme || isDarkBrand ? (_jsx(CloudSpannerLogoDark, Object.assign({}, props, { ref: ref }))) : (_jsx(CloudSpannerLogoLight, Object.assign({}, props, { ref: ref })));
});
export default CloudSpannerLogoSvg;
