Skip to content

Commit f6f98b8

Browse files
committed
chore: update
1 parent 2783967 commit f6f98b8

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
.counter-text {
2-
font-size: 50px;
1+
.counter-title {
2+
width: 100px;
3+
height: 100px;
4+
background: no-repeat url('./assets/logo.svg');
5+
background-size: cover;
36
}
47

5-
.title {
6-
background: url('./assets/logo.svg');
8+
.counter-text {
9+
font-size: 50px;
710
}

examples/react-component-bundle/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const Counter: React.FC = () => {
88

99
return (
1010
<div>
11-
<h1 className="title" />
11+
<h1 className="counter-title">Counter React Component</h1>
1212
<h2 className="counter-text">Counter: {count}</h2>
1313
<CounterButton onClick={decrement} label="-" />
1414
<CounterButton onClick={increment} label="+" />

0 commit comments

Comments
 (0)