Skip to content

Commit

Permalink
📝 Add Play button operation description and link to ref section
Browse files Browse the repository at this point in the history
  • Loading branch information
almond-bongbong committed May 17, 2024
1 parent ee13eb8 commit 2631372
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [2.3.2] - 2024-05-17

### Fixed

- Fixed a bug in `sequentialAnimationMode` where the first digit was being displayed as a blank space when the number of digits increased and the number decreased. This fix ensures that the correct number is displayed in all situations.

## [2.3.1] - 2024-04-27

### Fixed
Expand Down
6 changes: 6 additions & 0 deletions example/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,9 @@ footer .github-link img {
width: 20px;
}
}

.info {
margin-top: 30px;
font-size: 16px;
color: #666;
}
7 changes: 6 additions & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ function App() {
</button>
</div>
<CommonHighlighter>{`<SlotCounter value={123456} />`}</CommonHighlighter>

<p className="info">
* Curious about how the Play button works? You can check it out in the{' '}
<a href="#ref-section">ref section</a> below.
</p>
</div>

<div className="example-area">
Expand Down Expand Up @@ -491,7 +496,7 @@ function App() {
</CommonHighlighter>
</div>

<div className="example-area">
<div id="ref-section" className="example-area">
<h3>🎮 Take the Control with `ref`</h3>
<h4>🕹️ StartAnimation: Command your Animation!</h4>
<p>
Expand Down

0 comments on commit 2631372

Please sign in to comment.