Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Dec 18, 2024
1 parent 2783967 commit f6f98b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions examples/react-component-bundle/src/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.counter-text {
font-size: 50px;
.counter-title {
width: 100px;
height: 100px;
background: no-repeat url('./assets/logo.svg');
background-size: cover;
}

.title {
background: url('./assets/logo.svg');
.counter-text {
font-size: 50px;
}
2 changes: 1 addition & 1 deletion examples/react-component-bundle/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const Counter: React.FC = () => {

return (
<div>
<h1 className="title" />
<h1 className="counter-title">Counter React Component</h1>
<h2 className="counter-text">Counter: {count}</h2>
<CounterButton onClick={decrement} label="-" />
<CounterButton onClick={increment} label="+" />
Expand Down

0 comments on commit f6f98b8

Please sign in to comment.