File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
organisms/Calendar/Dropdown/CalendarDropdown/Components Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export interface props {
12
12
onClick ?: ( e : React . MouseEvent < HTMLElement > ) => void
13
13
role ?: 'button' | 'link'
14
14
tabIndex ?: number
15
+ target ?: '_blank' | '_self'
15
16
textDecorationLine ?: boolean
16
17
}
17
18
@@ -26,15 +27,17 @@ export function BtnLink({
26
27
onClick,
27
28
role = 'link' ,
28
29
tabIndex,
30
+ target = '_blank' ,
29
31
textDecorationLine = true ,
30
32
} : props ) : JSX . Element {
31
33
const typeButton = {
32
34
button : {
33
35
onClick,
36
+ target : target ,
34
37
} ,
35
38
a : {
36
39
href,
37
- target : '_blank' ,
40
+ target : target ,
38
41
} ,
39
42
}
40
43
Original file line number Diff line number Diff line change @@ -88,7 +88,9 @@ export const EventsGroup = ({
88
88
< Box as = "span" fontSize = "14px" >
89
89
{ textSeeMore }
90
90
</ Box > { ' ' }
91
- < BtnLink onClick = { redirect } > { textLinkMore } </ BtnLink >
91
+ < BtnLink onClick = { redirect } target = "_self" >
92
+ { textLinkMore }
93
+ </ BtnLink >
92
94
</ Box >
93
95
) }
94
96
</ >
You can’t perform that action at this time.
0 commit comments