forked from primer/react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
723 lines (586 loc) · 22.4 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
declare module '@primer/components' {
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>
import * as StyledSystem from 'styled-system'
import * as StyledComponents from 'styled-components'
import * as History from 'history'
export interface BaseProps extends React.Props<any> {
as?: React.ReactType
className?: string
css?: string
title?: string
// NOTE(@mxstbr): Necessary workaround to make <Component as={Link} to="/bla" /> work
to?: History.LocationDescriptor
}
interface CommonProps extends BaseProps, StyledSystem.ColorProps, StyledSystem.SpaceProps {}
interface LayoutProps extends BaseProps, StyledSystem.LayoutProps {}
interface TypographyProps extends BaseProps, StyledSystem.TypographyProps {
whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line'
}
interface BorderProps
extends BaseProps,
StyledSystem.BordersProps,
StyledSystem.BorderColorProps,
StyledSystem.BoxShadowProps,
StyledSystem.BorderRadiusProps {}
interface PositionProps
extends BaseProps,
StyledSystem.PositionProps,
StyledSystem.ZIndexProps,
StyledSystem.TopProps,
StyledSystem.RightProps,
StyledSystem.BottomProps,
StyledSystem.LeftProps {}
interface FlexItemProps
extends BaseProps,
CommonProps,
LayoutProps,
StyledSystem.FlexProps,
StyledSystem.JustifySelfProps,
StyledSystem.AlignSelfProps,
StyledSystem.OrderProps {}
interface FlexProps extends BaseProps, CommonProps, LayoutProps, StyledSystem.FlexboxProps, BoxProps {}
export const Flex: React.FunctionComponent<FlexProps> & {
Item: React.FunctionComponent<FlexItemProps>
}
export interface BoxProps
extends BaseProps,
CommonProps,
LayoutProps,
Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export const Box: React.FunctionComponent<BoxProps>
export interface TextProps
extends BaseProps,
CommonProps,
TypographyProps,
Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {}
export const Text: React.FunctionComponent<TextProps>
export interface HeadingProps
extends BaseProps,
CommonProps,
TypographyProps,
Omit<React.HTMLAttributes<HTMLHeadingElement>, 'color'> {}
export const Heading: React.FunctionComponent<HeadingProps>
type DetailsRenderFunction = (args: {open: boolean}) => React.ReactElement
export interface DetailsProps extends CommonProps, Omit<React.DetailsHTMLAttributes<HTMLDetailsElement>, 'color'> {
render?: DetailsRenderFunction
children?: DetailsRenderFunction | React.ReactNode
defaultOpen?: boolean
overlay?: boolean
open?: boolean
onToggle?: (event: React.SyntheticEvent<HTMLDetailsElement>) => void
onClickOutside?: (event: MouseEvent) => void
}
export const Details: React.FunctionComponent<DetailsProps>
export interface ButtonProps
extends BaseProps,
CommonProps,
StyledSystem.FontSizeProps,
Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color'> {
variant?: 'small' | 'medium' | 'large'
}
export interface ButtonTableListProps
extends CommonProps,
TypographyProps,
LayoutProps,
Omit<React.HTMLAttributes<HTMLElement>, 'color'> {}
export const ButtonPrimary: React.FunctionComponent<ButtonProps>
export const ButtonOutline: React.FunctionComponent<ButtonProps>
export const ButtonDanger: React.FunctionComponent<ButtonProps>
export const ButtonTableList: React.FunctionComponent<ButtonTableListProps>
export const ButtonGroup: React.FunctionComponent<BoxProps>
export const Button: React.FunctionComponent<ButtonProps>
export interface AvatarProps extends CommonProps, Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'color'> {
isChild?: boolean
size?: number
}
export const Avatar: React.FunctionComponent<AvatarProps>
export interface BaseStylesProps extends TypographyProps, CommonProps {}
export const BaseStyles: React.FunctionComponent<BaseStylesProps>
export interface BorderBoxProps extends CommonProps, LayoutProps, BorderProps, BoxProps {
border?: string
borderColor?: string
borderRadius?: string | number
boxShadow?: string
}
export const BorderBox: React.FunctionComponent<BorderBoxProps>
export interface BranchNameProps extends CommonProps, Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {}
export const BranchName: React.FunctionComponent<BranchNameProps>
export interface CircleBadgeProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
inline?: boolean
size?: number
variant?: 'small' | 'medium' | 'large'
}
export const CircleBadge: React.FunctionComponent<CircleBadgeProps>
export interface CircleOcticonProps extends CommonProps, FlexProps {
size?: number
icon: React.ReactNode
}
export const CircleOcticon: React.FunctionComponent<CircleOcticonProps>
export interface StyledOcticonProps extends CommonProps {
size?: number
icon: React.ReactNode
}
export const StyledOcticon: React.FunctionComponent<StyledOcticonProps>
export interface DropdownProps extends DetailsProps {}
export interface DropdownItemProps extends CommonProps, Omit<React.HTMLAttributes<HTMLLIElement>, 'color'> {}
export interface DropdownMenuProps extends CommonProps, Omit<React.HTMLAttributes<HTMLUListElement>, 'color'> {
direction?: 'ne'| 'e'| 'se'| 's'| 'sw'| 'w'
}
export interface DropdownButtonProps extends ButtonProps {}
export interface DropdownCaretProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export const Dropdown: React.FunctionComponent<DropdownProps> & {
Menu: React.FunctionComponent<DropdownMenuProps>
Item: React.FunctionComponent<DropdownItemProps>
Button: React.FunctionComponent<DropdownButtonProps>
Caret: React.FunctionComponent<DropdownCaretProps>
}
export interface FilteredSearchProps extends CommonProps {
// just children
}
export const FilteredSearch: React.FunctionComponent<FilteredSearchProps>
export interface FilterListProps extends CommonProps, Omit<React.HTMLAttributes<HTMLUListElement>, 'color'> {
small?: boolean
}
export interface FilterListItemProps
extends CommonProps,
Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
count?: number
selected?: boolean
}
export const FilterList: React.FunctionComponent<FilterListProps> & {
Item: React.FunctionComponent<FilterListItemProps>
}
export interface FlashProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
full?: boolean
scheme?: string
}
export const Flash: React.FunctionComponent<FlashProps>
export interface CounterLabelProps extends CommonProps, Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
scheme?: string
}
export const CounterLabel: React.FunctionComponent<CounterLabelProps>
export interface GridProps extends BoxProps, StyledSystem.GridProps {}
export const Grid: React.FunctionComponent<GridProps>
export interface LabelProps extends CommonProps, Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
outline?: boolean
variant?: 'small' | 'medium' | 'large' | 'xl'
dropshadow?: boolean
}
export const Label: React.FunctionComponent<LabelProps>
export interface LinkProps
extends CommonProps,
TypographyProps,
Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
muted?: boolean
underline?: boolean
}
export const Link: React.FunctionComponent<LinkProps>
export type PaginationHrefBuilder = (page: number) => string
export type PaginationPageChangeCallback = (e: React.MouseEvent, page: number) => void
export interface PaginationProps extends CommonProps {
currentPage: number
hrefBuilder?: PaginationHrefBuilder
/**
* How many pages to show on the left and right of the component
*/
marginPageCount?: number
onPageChange?: PaginationPageChangeCallback
pageCount: number
showPages?: boolean
/**
* How many pages to show directly to the left and right of the current page
*/
surroundingPageCount?: number
}
export const Pagination: React.FunctionComponent<PaginationProps>
export interface PointerBoxProps extends CommonProps, LayoutProps, BorderBoxProps {
caret?: string
}
export const PointerBox: React.FunctionComponent<PointerBoxProps>
export interface PopoverProps extends CommonProps, LayoutProps, PositionProps {
caret?:
| 'top'
| 'bottom'
| 'left'
| 'right'
| 'bottom-left'
| 'bottom-right'
| 'top-left'
| 'top-right'
| 'left-bottom'
| 'left-top'
| 'right-bottom'
| 'right-top'
open?: boolean
relative?: boolean
}
export interface PopoverContentProps extends BorderBoxProps { }
export const Popover: React.FunctionComponent<PopoverProps> & {
Content: React.FunctionComponent<PopoverContentProps>
}
export interface PositionComponentProps
extends PositionProps,
CommonProps,
LayoutProps,
Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export const Relative: React.FunctionComponent<PositionComponentProps>
export const Absolute: React.FunctionComponent<PositionComponentProps>
export const Sticky: React.FunctionComponent<PositionComponentProps>
export const Fixed: React.FunctionComponent<PositionComponentProps>
export interface SelectMenuProps extends Omit<CommonProps, 'as'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
initialTab?: string
}
export interface SelectMenuModalProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export interface SelectMenuListProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export interface SelectMenuItemProps extends Omit<CommonProps, 'as'>,
Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
selected?: boolean
}
export interface SelectMenuFooterProps extends CommonProps, Omit<React.HTMLAttributes<HTMLElement>, 'color'> {}
export interface SelectMenuDividerProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export interface SelectMenuHeaderProps extends CommonProps, TypographyProps, Omit<React.HTMLAttributes<HTMLElement>, 'color'> {}
export interface SelectMenuFilterProps extends TextInputProps {
value: string
}
export interface SelectMenuTabsProps extends CommonProps,
Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export interface SelectMenuTabProps extends CommonProps, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color'> {
index: number,
tabName: string
}
export interface SelectMenuTabPanelProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
tabName: string
}
export const SelectMenu: React.FunctionComponent<SelectMenuProps> & {
MenuContext: React.Context<{
selectedTab: string | undefined
setSelectedTab: (selectedTab: string | undefined) => void,
open: boolean | undefined,
setOpen: (open: boolean | undefined) => void,
initialTab: string | undefined
}>
Divider: React.FunctionComponent<SelectMenuDividerProps>
Filter: React.FunctionComponent<SelectMenuFilterProps>
Footer: React.FunctionComponent<SelectMenuFooterProps>
List: React.FunctionComponent<SelectMenuListProps>
Item: React.FunctionComponent<SelectMenuItemProps>
Modal: React.FunctionComponent<SelectMenuModalProps>
Tabs: React.FunctionComponent<SelectMenuTabsProps>
Tab: React.FunctionComponent<SelectMenuTabProps>
TabPanel: React.FunctionComponent<SelectMenuTabPanelProps>
Header: React.FunctionComponent<SelectMenuHeaderProps>
}
export interface SideNavProps extends CommonProps, BorderProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
bordered?: boolean
variant?: 'normal' | 'lightweight'
}
export interface SideNavLinkProps
extends CommonProps,
TypographyProps,
LinkProps,
Omit<React.HTMLAttributes<HTMLAnchorElement>, 'color'> {
selected?: boolean
variant?: 'normal' | 'full'
}
export const SideNav: React.FunctionComponent<SideNavProps> & {
Link: React.FunctionComponent<SideNavLinkProps>
}
export interface StateLabelProps extends CommonProps {
small?: boolean
status: 'issueOpened' | 'issueClosed' | 'pullOpened' | 'pullClosed' | 'pullMerged'
}
export const StateLabel: React.FunctionComponent<StateLabelProps>
export interface TabNavProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {}
export interface TabNavLinkProps extends CommonProps, Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
selected?: boolean
}
export const TabNav: React.FunctionComponent<TabNavProps> & {
Link: React.FunctionComponent<TabNavLinkProps>
}
export interface TextInputProps
extends CommonProps,
StyledSystem.WidthProps,
StyledSystem.MaxWidthProps,
StyledSystem.MinWidthProps,
Omit<React.InputHTMLAttributes<HTMLInputElement>, 'color' | 'size' | 'width'> {
block?: boolean
icon?: React.ReactElement
variant?: 'small' | 'large'
}
export const TextInput: React.FunctionComponent<TextInputProps>
export interface TooltipProps extends CommonProps, Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
align?: 'left' | 'right'
direction?: 'n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw'
noDelay?: boolean
text?: string
wrap?: boolean
}
export interface TimelineProps extends Omit<FlexProps, 'flexDirection'> {
clipSidebar?: boolean
}
export interface TimelineItemProps extends Omit<FlexProps, 'flexDirection'> {
condensed?: boolean
}
export interface TimelineBadgeProps extends Omit<FlexProps, 'height' | 'width' | 'alignItems' | 'justifyContent'> {}
export const Timeline: React.FunctionComponent<TimelineProps> & {
Item: React.FunctionComponent<TimelineItemProps>
Badge: React.FunctionComponent<TimelineBadgeProps>
Body: React.FunctionComponent<BoxProps>
Break: React.FunctionComponent<BoxProps>
}
export const Tooltip: React.FunctionComponent<TooltipProps>
export interface UnderlineNavProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
actions?: React.ReactNode
align?: 'right'
full?: boolean
label?: string
}
export interface TruncateProps extends StyledSystem.MaxWidthProps, TypographyProps, BaseProps {
expandable?: boolean
inline?: boolean
title: string
}
export const Truncate: React.FunctionComponent<TruncateProps>
export interface UnderlineNavLinkProps
extends CommonProps,
Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
selected?: boolean
}
export const UnderlineNav: React.FunctionComponent<UnderlineNavProps> & {
Link: React.FunctionComponent<UnderlineNavLinkProps>
}
export interface SubNavProps extends CommonProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, FlexProps {
actions?: React.ReactNode
label?: string
}
export interface SubNavLinkProps extends CommonProps, Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
selected?: boolean
}
export const SubNav: React.FunctionComponent<SubNavProps> & {
Link: React.FunctionComponent<SubNavLinkProps>
}
export interface BreadcrumbProps
extends CommonProps,
Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>,
FlexProps {}
export interface BreadcrumbItemProps
extends CommonProps,
Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
selected?: boolean
}
export const Breadcrumb: React.FunctionComponent<BreadcrumbProps> & {
Item: React.FunctionComponent<BreadcrumbItemProps>
}
export const theme: {[key: string]: any}
export const themeGet: (key: any) => any
export interface DialogProps extends CommonProps {
title: string
isOpen: boolean
onDismiss: () => unknown
}
export const Dialog: React.FunctionComponent<DialogProps>
export interface LabelGroupProps extends CommonProps, Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {}
export const LabelGroup: React.FunctionComponent<LabelGroupProps>
export interface AvatarStackProps extends CommonProps, Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
alignRight?: boolean
}
export const AvatarStack: React.FunctionComponent<AvatarStackProps>
export interface ProgressBarProps
extends BaseProps,
CommonProps,
StyledSystem.WidthProps,
Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
progress?: number | string
barSize?: 'small' | 'default' | 'large'
inline?: boolean
}
export const ProgressBar: React.FunctionComponent<ProgressBarProps>
}
declare module '@primer/components/src/Box' {
import {Box} from '@primer/components'
export default Box
}
declare module '@primer/components/src/Text' {
import {Text} from '@primer/components'
export default Text
}
declare module '@primer/components/src/Heading' {
import {Heading} from '@primer/components'
export default Heading
}
declare module '@primer/components/src/ButtonDanger' {
import {ButtonDanger} from '@primer/components'
export default ButtonDanger
}
declare module '@primer/components/src/ButtonPrimary' {
import {ButtonPrimary} from '@primer/components'
export default ButtonPrimary
}
declare module '@primer/components/src/ButtonOutline' {
import {ButtonOutline} from '@primer/components'
export default ButtonOutline
}
declare module '@primer/components/src/ButtonTableList' {
import {ButtonTableList} from '@primer/components'
export default ButtonTableList
}
declare module '@primer/components/src/ButtonGroup' {
import {ButtonGroup} from '@primer/components'
export default ButtonGroup
}
declare module '@primer/components/src/Button' {
import {Button} from '@primer/components'
export default Button
}
declare module '@primer/components/src/Flex' {
import {Flex} from '@primer/components'
export default Flex
}
declare module '@primer/components/src/Avatar' {
import {Avatar} from '@primer/components'
export default Avatar
}
declare module '@primer/components/src/Details' {
import {Details} from '@primer/components'
export default Details
}
declare module '@primer/components/src/BaseStyles' {
import {BaseStyles} from '@primer/components'
export default BaseStyles
}
declare module '@primer/components/src/BorderBox' {
import {BorderBox} from '@primer/components'
export default BorderBox
}
declare module '@primer/components/src/BranchName' {
import {BranchName} from '@primer/components'
export default BranchName
}
declare module '@primer/components/src/CircleBadge' {
import {CircleBadge} from '@primer/components'
export default CircleBadge
}
declare module '@primer/components/src/CircleOcticon' {
import {CircleOcticon} from '@primer/components'
export default CircleOcticon
}
declare module '@primer/components/src/StyledOcticon' {
import {StyledOcticon} from '@primer/components'
export default StyledOcticon
}
declare module '@primer/components/src/Dropdown' {
import {Dropdown} from '@primer/components'
export default Dropdown
}
declare module '@primer/components/src/FilterList' {
import {FilterList} from '@primer/components'
export default FilterList
}
declare module '@primer/components/src/Flash' {
import {Flash} from '@primer/components'
export default Flash
}
declare module '@primer/components/src/Grid' {
import {Grid} from '@primer/components'
export default Grid
}
declare module '@primer/components/src/CounterLabel' {
import {CounterLabel} from '@primer/components'
export default CounterLabel
}
declare module '@primer/components/src/Label' {
import {Label} from '@primer/components'
export default Label
}
declare module '@primer/components/src/Link' {
import {Link} from '@primer/components'
export default Link
}
declare module '@primer/components/src/Pagination' {
import {Pagination} from '@primer/components'
export default Pagination
}
declare module '@primer/components/src/PointerBox' {
import {PointerBox} from '@primer/components'
export default PointerBox
}
declare module '@primer/components/src/Popover' {
import {Popover} from '@primer/components'
export default Popover
}
declare module '@primer/components/src/Relative' {
import {Relative} from '@primer/components'
export default Relative
}
declare module '@primer/components/src/Absolute' {
import {Absolute} from '@primer/components'
export default Absolute
}
declare module '@primer/components/src/Sticky' {
import {Sticky} from '@primer/components'
export default Sticky
}
declare module '@primer/components/src/Fixed' {
import {Fixed} from '@primer/components'
export default Fixed
}
declare module '@primer/components/src/SelectMenu' {
import {SelectMenu} from '@primer/components'
export default SelectMenu
}
declare module '@primer/components/src/StateLabel' {
import {StateLabel} from '@primer/components'
export default StateLabel
}
declare module '@primer/components/src/TabNav' {
import {TabNav} from '@primer/components'
export default TabNav
}
declare module '@primer/components/src/TextInput' {
import {TextInput} from '@primer/components'
export default TextInput
}
declare module '@primer/components/src/Timeline' {
import {Timeline} from '@primer/components'
export default Timeline
}
declare module '@primer/components/src/Tooltip' {
import {Tooltip} from '@primer/components'
export default Tooltip
}
declare module '@primer/components/src/UnderlineNav' {
import {UnderlineNav} from '@primer/components'
export default UnderlineNav
}
declare module '@primer/components/src/SideNav' {
import {SideNav} from '@primer/components'
export default SideNav
}
declare module '@primer/components/src/SubNav' {
import {SubNav} from '@primer/components'
export default SubNav
}
declare module '@primer/components/src/theme' {
import {theme} from '@primer/components'
export default theme
}
declare module '@primer/components/src/Dialog' {
import {Dialog} from '@primer/components'
export default Dialog
}
declare module '@primer/components/src/LabelGroup' {
import {LabelGroup} from '@primer/components'
export default LabelGroup
}
declare module '@primer/components/src/ProgressBar' {
import {ProgressBar} from '@primer/components'
export default ProgressBar
}
declare module '@primer/components/src/AvatarStack' {
import {AvatarStack} from '@primer/components'
export default AvatarStack
}
declare module '@primer/components/src/Breadcrumbs' {
import {Breadcrumb} from '@primer/components'
export default Breadcrumb
}