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