1
+ <!doctype html>
2
+ < html class ="default no-js ">
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
+ < title > "components/badges/HitsBadge" | jsx-readme</ title >
7
+ < meta name ="description " content ="Documentation for jsx-readme ">
8
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
9
+ < link rel ="stylesheet " href ="../assets/css/main.css ">
10
+ </ head >
11
+ < body >
12
+ < header >
13
+ < div class ="tsd-page-toolbar ">
14
+ < div class ="container ">
15
+ < div class ="table-wrap ">
16
+ < div class ="table-cell " id ="tsd-search " data-index ="../assets/js/search.json " data-base =".. ">
17
+ < div class ="field ">
18
+ < label for ="tsd-search-field " class ="tsd-widget search no-caption "> Search</ label >
19
+ < input id ="tsd-search-field " type ="text " />
20
+ </ div >
21
+ < ul class ="results ">
22
+ < li class ="state loading "> Preparing search index...</ li >
23
+ < li class ="state failure "> The search index is not available</ li >
24
+ </ ul >
25
+ < a href ="../index.html " class ="title "> jsx-readme</ a >
26
+ </ div >
27
+ < div class ="table-cell " id ="tsd-widgets ">
28
+ < div id ="tsd-filter ">
29
+ < a href ="# " class ="tsd-widget options no-caption " data-toggle ="options "> Options</ a >
30
+ < div class ="tsd-filter-group ">
31
+ < div class ="tsd-select " id ="tsd-filter-visibility ">
32
+ < span class ="tsd-select-label "> All</ span >
33
+ < ul class ="tsd-select-list ">
34
+ < li data-value ="public "> Public</ li >
35
+ < li data-value ="protected "> Public/Protected</ li >
36
+ < li data-value ="private " class ="selected "> All</ li >
37
+ </ ul >
38
+ </ div >
39
+ < input type ="checkbox " id ="tsd-filter-inherited " checked />
40
+ < label class ="tsd-widget " for ="tsd-filter-inherited "> Inherited</ label >
41
+ < input type ="checkbox " id ="tsd-filter-externals " checked />
42
+ < label class ="tsd-widget " for ="tsd-filter-externals "> Externals</ label >
43
+ < input type ="checkbox " id ="tsd-filter-only-exported " />
44
+ < label class ="tsd-widget " for ="tsd-filter-only-exported "> Only exported</ label >
45
+ </ div >
46
+ </ div >
47
+ < a href ="# " class ="tsd-widget menu no-caption " data-toggle ="menu "> Menu</ a >
48
+ </ div >
49
+ </ div >
50
+ </ div >
51
+ </ div >
52
+ < div class ="tsd-page-title ">
53
+ < div class ="container ">
54
+ < ul class ="tsd-breadcrumb ">
55
+ < li >
56
+ < a href ="../globals.html "> Globals</ a >
57
+ </ li >
58
+ < li >
59
+ < a href ="_components_badges_hitsbadge_.html "> "components/badges/HitsBadge"</ a >
60
+ </ li >
61
+ </ ul >
62
+ < h1 > Module "components/badges/HitsBadge"</ h1 >
63
+ </ div >
64
+ </ div >
65
+ </ header >
66
+ < div class ="container container-main ">
67
+ < div class ="row ">
68
+ < div class ="col-8 col-content ">
69
+ < section class ="tsd-panel-group tsd-index-group ">
70
+ < h2 > Index</ h2 >
71
+ < section class ="tsd-panel tsd-index-panel ">
72
+ < div class ="tsd-index-content ">
73
+ < section class ="tsd-index-section ">
74
+ < h3 > Functions</ h3 >
75
+ < ul class ="tsd-index-list ">
76
+ < li class ="tsd-kind-function tsd-parent-kind-module "> < a href ="_components_badges_hitsbadge_.html#hitsbadge " class ="tsd-kind-icon "> Hits< wbr > Badge</ a > </ li >
77
+ </ ul >
78
+ </ section >
79
+ </ div >
80
+ </ section >
81
+ </ section >
82
+ < section class ="tsd-panel-group tsd-member-group ">
83
+ < h2 > Functions</ h2 >
84
+ < section class ="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-module ">
85
+ < a name ="hitsbadge " class ="tsd-anchor "> </ a >
86
+ < h3 > < span class ="tsd-flag ts-flagConst "> Const</ span > Hits< wbr > Badge</ h3 >
87
+ < ul class ="tsd-signatures tsd-kind-function tsd-parent-kind-module ">
88
+ < li class ="tsd-signature tsd-kind-icon "> Hits< wbr > Badge< span class ="tsd-signature-symbol "> (</ span > props< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-symbol "> { </ span > pkg< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Readonly</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> PackageJSON</ span > < span class ="tsd-signature-symbol "> ></ span > < span class ="tsd-signature-symbol "> }</ span > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> null</ span > < span class ="tsd-signature-symbol "> | </ span > < span class ="tsd-signature-type "> Element</ span > </ li >
89
+ </ ul >
90
+ < ul class ="tsd-descriptions ">
91
+ < li class ="tsd-description ">
92
+ < aside class ="tsd-sources ">
93
+ < ul >
94
+ < li > Defined in < a href ="https://github.com/dbartholomae/jsx-readme/blob/main/src/components/badges/HitsBadge.tsx#L8 "> components/badges/HitsBadge.tsx:8</ a > </ li >
95
+ </ ul >
96
+ </ aside >
97
+ < div class ="tsd-comment tsd-typography ">
98
+ < div class ="lead ">
99
+ < p > Show a badge with the count of Hits(Page View Counter) on a particular Repo on GitHub</ p >
100
+ </ div >
101
+ </ div >
102
+ < h4 class ="tsd-parameters-title "> Parameters</ h4 >
103
+ < ul class ="tsd-parameters ">
104
+ < li >
105
+ < h5 > props: < span class ="tsd-signature-symbol "> { </ span > pkg< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Readonly</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> PackageJSON</ span > < span class ="tsd-signature-symbol "> ></ span > < span class ="tsd-signature-symbol "> }</ span > </ h5 >
106
+ < ul class ="tsd-parameters ">
107
+ < li class ="tsd-parameter ">
108
+ < h5 > pkg< span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Readonly</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> PackageJSON</ span > < span class ="tsd-signature-symbol "> ></ span > </ h5 >
109
+ </ li >
110
+ </ ul >
111
+ </ li >
112
+ </ ul >
113
+ < h4 class ="tsd-returns-title "> Returns < span class ="tsd-signature-type "> null</ span > < span class ="tsd-signature-symbol "> | </ span > < span class ="tsd-signature-type "> Element</ span > </ h4 >
114
+ </ li >
115
+ </ ul >
116
+ </ section >
117
+ </ section >
118
+ </ div >
119
+ < div class ="col-4 col-menu menu-sticky-wrap menu-highlight ">
120
+ < nav class ="tsd-navigation primary ">
121
+ < ul >
122
+ < li class ="globals ">
123
+ < a href ="../globals.html "> < em > Globals</ em > </ a >
124
+ </ li >
125
+ < li class ="current tsd-kind-module ">
126
+ < a href ="_components_badges_hitsbadge_.html "> "components/badges/< wbr > Hits< wbr > Badge"</ a >
127
+ </ li >
128
+ </ ul >
129
+ </ nav >
130
+ < nav class ="tsd-navigation secondary menu-sticky ">
131
+ < ul class ="before-current ">
132
+ < li class =" tsd-kind-function tsd-parent-kind-module ">
133
+ < a href ="_components_badges_hitsbadge_.html#hitsbadge " class ="tsd-kind-icon "> Hits< wbr > Badge</ a >
134
+ </ li >
135
+ </ ul >
136
+ </ nav >
137
+ </ div >
138
+ </ div >
139
+ </ div >
140
+ < footer class ="with-border-bottom ">
141
+ < div class ="container ">
142
+ < h2 > Legend</ h2 >
143
+ < div class ="tsd-legend-group ">
144
+ < ul class ="tsd-legend ">
145
+ < li class ="tsd-kind-variable "> < span class ="tsd-kind-icon "> Variable</ span > </ li >
146
+ < li class ="tsd-kind-function "> < span class ="tsd-kind-icon "> Function</ span > </ li >
147
+ < li class ="tsd-kind-type-alias "> < span class ="tsd-kind-icon "> Type alias</ span > </ li >
148
+ </ ul >
149
+ < ul class ="tsd-legend ">
150
+ < li class ="tsd-kind-interface "> < span class ="tsd-kind-icon "> Interface</ span > </ li >
151
+ </ ul >
152
+ </ div >
153
+ </ div >
154
+ </ footer >
155
+ < div class ="container tsd-generator ">
156
+ < p > Generated using < a href ="https://typedoc.org/ " target ="_blank "> TypeDoc</ a > </ p >
157
+ </ div >
158
+ < div class ="overlay "> </ div >
159
+ < script src ="../assets/js/main.js "> </ script >
160
+ </ body >
161
+ </ html >
0 commit comments