@react-chess-tools/react-chess-clock 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -261,15 +261,11 @@ Supports **ref forwarding**, **asChild pattern**, and all standard **HTML button
|
|
|
261
261
|
#### Example
|
|
262
262
|
|
|
263
263
|
```tsx
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
-
<ChessClock.Reset>Reset</ChessClock.Reset>;
|
|
264
|
+
// Reset with same time control
|
|
265
|
+
<ChessClock.Reset>Reset</ChessClock.Reset>
|
|
268
266
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
<ChessClock.Reset timeControl="10+5">Change to 10+5</ChessClock.Reset>;
|
|
267
|
+
// Reset with new time control
|
|
268
|
+
<ChessClock.Reset timeControl="10+5">Change to 10+5</ChessClock.Reset>
|
|
273
269
|
```
|
|
274
270
|
|
|
275
271
|
#### Using asChild Pattern
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-chess-tools/react-chess-clock",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A standalone chess clock component for React with support for multiple timing methods (Fischer, delay, Bronstein) and seamless integration with react-chess-game.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|