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