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