Skip to content

Commit 98fd282

Browse files
committed
update to integration page
1 parent a569225 commit 98fd282

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/pages/integration.ch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#universal UniversalCounterCore(props) {
4242
state count = 0
4343
return (
44-
<button onClick={() => count += 1} className={props.className}>
44+
<button onClick={() => count += 1} class={props.class}>
4545
Count: {count}
4646
</button>
4747
)
@@ -52,7 +52,7 @@
5252
return (
5353
<div style={{ 'text-align': 'center', padding: '2rem', background: 'rgba(255,255,255,0.03)', 'border-radius': '24px', border: '1px solid rgba(255,255,255,0.1)' }}>
5454
<h3 style={"color: #2c4f7c; margin-bottom: 1.5rem"}>Universal</h3>
55-
<UniversalCounterCore className={props.className} />
55+
<UniversalCounterCore class={props.class} />
5656
</div>
5757
)
5858
}
@@ -61,7 +61,7 @@
6161
return (
6262
<div style={{ textAlign: 'center', padding: '2rem', background: 'rgba(255,255,255,0.03)', borderRadius: '24px', border: '1px solid rgba(255,255,255,0.1)' }}>
6363
<h3 style={{ color: '#61dafb', marginBottom: '1.5rem' }}>Universal in React</h3>
64-
<UniversalCounterCore className={props.className} />
64+
<UniversalCounterCore class={props.class} />
6565
</div>
6666
)
6767
}
@@ -70,7 +70,7 @@
7070
return (
7171
<div style={{ textAlign: 'center', padding: '2rem', background: 'rgba(255,255,255,0.03)', borderRadius: '24px', border: '1px solid rgba(255,255,255,0.1)' }}>
7272
<h3 style={"color: #673ab8; margin-bottom: 1.5rem"}>Universal in Preact</h3>
73-
<UniversalCounterCore className={props.className} />
73+
<UniversalCounterCore class={props.class} />
7474
</div>
7575
)
7676
}
@@ -79,7 +79,7 @@
7979
return (
8080
<div style={{ 'text-align': 'center', padding: '2rem', background: 'rgba(255,255,255,0.03)', 'border-radius': '24px', border: '1px solid rgba(255,255,255,0.1)' }}>
8181
<h3 style={"color: #2c4f7c; margin-bottom: 1.5rem"}>Solid</h3>
82-
<UniversalCounterCore className={props.className} />
82+
<UniversalCounterCore class={props.class} />
8383
</div>
8484
)
8585
}
@@ -130,7 +130,7 @@ func IntegrationPage(page : &mut HtmlPage) {
130130
<SolidCounter className={btnStyle} />
131131
</div>
132132
<div class="comp-item">
133-
<UniversalCounter className={btnStyle} />
133+
<UniversalCounter class={btnStyle} />
134134
</div>
135135
</div>
136136

@@ -141,13 +141,13 @@ func IntegrationPage(page : &mut HtmlPage) {
141141

142142
<div class="comp-showcase">
143143
<div class="comp-item">
144-
<ReactUniversalCounter className={btnStyle} />
144+
<ReactUniversalCounter class={btnStyle} />
145145
</div>
146146
<div class="comp-item">
147-
<PreactUniversalCounter className={btnStyle} />
147+
<PreactUniversalCounter class={btnStyle} />
148148
</div>
149149
<div class="comp-item">
150-
<SolidUniversalCounter className={btnStyle} />
150+
<SolidUniversalCounter class={btnStyle} />
151151
</div>
152152
</div>
153153

0 commit comments

Comments
 (0)