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