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