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