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