File tree Expand file tree Collapse file tree 5 files changed +14638
-54
lines changed Expand file tree Collapse file tree 5 files changed +14638
-54
lines changed Original file line number Diff line number Diff line change 1
1
# react-native-css-animations
2
-
3
- Effortless CSS animations and transitions in React Native
4
-
5
- ## Installation
6
-
7
- ``` sh
8
- npm install react-native-css-animations
9
- ```
10
-
11
- ## Usage
12
-
13
-
14
- ``` js
15
- import { multiply } from ' react-native-css-animations' ;
16
-
17
- // ...
18
-
19
- const result = await multiply (3 , 7 );
20
- ```
21
-
22
-
23
- ## Contributing
24
-
25
- See the [ contributing guide] ( CONTRIBUTING.md ) to learn how to contribute to the repository and the development workflow.
26
-
27
- ## License
28
-
29
- MIT
30
-
31
- ---
32
-
33
- Made with [ create-react-native-library] ( https://github.com/callstack/react-native-builder-bob )
Original file line number Diff line number Diff line change 1
- import { Text , View , StyleSheet } from 'react-native' ;
2
- import { multiply } from 'react-native-css-animations' ;
3
-
4
- const result = multiply ( 3 , 7 ) ;
5
-
6
1
export default function App ( ) {
7
- return (
8
- < View style = { styles . container } >
9
- < Text > Result: { result } </ Text >
10
- </ View >
11
- ) ;
2
+ return null ;
12
3
}
13
-
14
- const styles = StyleSheet . create ( {
15
- container : {
16
- flex : 1 ,
17
- alignItems : 'center' ,
18
- justifyContent : 'center' ,
19
- } ,
20
- } ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-css-animations" ,
3
- "version" : " 0.1.0 " ,
3
+ "version" : " 0.0.1 " ,
4
4
"description" : " Effortless CSS animations and transitions in React Native" ,
5
5
"source" : " ./src/index.tsx" ,
6
6
"main" : " ./lib/commonjs/index.js" ,
Original file line number Diff line number Diff line change 1
- export function multiply ( a : number , b : number ) : number {
2
- return a * b ;
3
- }
1
+ export function noop ( ) { }
You can’t perform that action at this time.
0 commit comments