textimation 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +13 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # textimation
2
2
 
3
- Animated Text
3
+ A simple React component for animating text with typewriter-like effects.
4
4
 
5
5
  ## Installation
6
6
 
@@ -10,12 +10,21 @@ bun add textimation
10
10
 
11
11
  ## Usage
12
12
 
13
+ First, import the styles and the `AnimatedText` component:
14
+
13
15
  ```tsx
14
16
  import 'textimation/styles.css';
15
- import { Button } from 'textimation';
17
+ import { AnimatedText } from 'textimation';
16
18
 
17
19
  function App() {
18
- return <Button>Click me</Button>;
20
+ return (
21
+ <AnimatedText
22
+ text="Hello, world!"
23
+ Comp="p"
24
+ animationSpeed={30}
25
+ keepCorrectChars
26
+ />
27
+ );
19
28
  }
20
29
  ```
21
30
 
@@ -25,4 +34,4 @@ Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for contribution guidelines.
25
34
 
26
35
  ## License
27
36
 
28
- MIT
37
+ MIT License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "textimation",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Animated Text",
5
5
  "homepage": "https://github.com/TheeKia/textimation#readme",
6
6
  "bugs": {