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