From 8cba534c9486b634624863df9afa26b6562cbb85 Mon Sep 17 00:00:00 2001 From: Jaied Al Sabid <30983626+jaiedsabid@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:37:36 +0600 Subject: [PATCH] Added target prop for the link --- src/logo/index.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/logo/index.js b/src/logo/index.js index 4068f02..7e456e8 100644 --- a/src/logo/index.js +++ b/src/logo/index.js @@ -4,7 +4,15 @@ import React from 'react'; // Internal Dependencies. import './style.scss'; -const Logo = ( { className, text, src, alt, onClick, href } ) => { +const Logo = ( { + className, + text, + src, + alt, + onClick, + href, + target = '_self', +} ) => { if ( ! text && ! src ) { return ''; } @@ -23,7 +31,7 @@ const Logo = ( { className, text, src, alt, onClick, href } ) => { { href ? (