mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #185] [MERGED] feat(react): add animation/timeline hook #1139
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/185
Author: @msmps
Created: 9/26/2025
Status: ✅ Merged
Merged: 9/27/2025
Merged by: @msmps
Base:
main← Head:feat/react-animation-20250926104002📝 Commits (2)
548da87feat(react): add animation/timeline hook8c4a1fcfix: wrap with use effect📊 Changes
11 files changed (+242 additions, -5 deletions)
View changed files
📝
packages/react/README.md(+135 -0)➕
packages/react/examples/animation.tsx(+78 -0)➕
packages/react/src/hooks/index.ts(+5 -0)📝
packages/react/src/hooks/use-event.ts(+0 -0)📝
packages/react/src/hooks/use-keyboard.ts(+0 -0)📝
packages/react/src/hooks/use-renderer.ts(+0 -0)📝
packages/react/src/hooks/use-resize.ts(+0 -0)📝
packages/react/src/hooks/use-terminal-dimensions.ts(+0 -0)➕
packages/react/src/hooks/use-timeline.ts(+21 -0)📝
packages/react/src/index.ts(+1 -4)📝
packages/react/src/reconciler/renderer.ts(+2 -1)📄 Description
useTimeline(options?)Create and manage animations using OpenTUI's timeline system. This hook automatically registers and unregisters the timeline with the animation engine.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.