File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { Link } from 'react-router-dom';
5
5
/**
6
6
* Accepts all the props of an HTML <a> or <button> tag.
7
7
*/
8
- type ButtonOrLinkProps = {
8
+ export type ButtonOrLinkProps = {
9
9
/**
10
10
* If providing an href, will render as a link instead of a button.
11
11
* Can be internal or external.
@@ -22,7 +22,7 @@ type ButtonOrLinkProps = {
22
22
onClick ?: ( e : React . MouseEvent < HTMLAnchorElement | HTMLButtonElement > ) => void ;
23
23
} ;
24
24
25
- type Ref = HTMLAnchorElement | HTMLButtonElement
25
+ export type Ref = HTMLAnchorElement | HTMLButtonElement
26
26
27
27
/**
28
28
* Helper for switching between <button>, <a>, and <Link>
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ const ButtonWrapper = styled(Button)`
11
11
}
12
12
` ;
13
13
14
- type IconProps = {
14
+ export type IconProps = {
15
15
'aria-label' ?: string
16
16
} ;
17
17
18
- type IconButtonProps = Omit <
18
+ export type IconButtonProps = Omit <
19
19
React . ComponentProps < typeof Button > ,
20
20
'iconBefore' | 'iconOnly' | 'display' | 'focusable'
21
21
> & {
Original file line number Diff line number Diff line change 1
1
import React , { ReactNode } from 'react' ;
2
2
import { NavLink } from 'react-router-dom' ;
3
3
4
- type TabProps = {
4
+ export type TabProps = {
5
5
children : ReactNode ,
6
6
to : string
7
7
} ;
You can’t perform that action at this time.
0 commit comments