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