Skip to content

Commit d6a8dc6

Browse files
chore: cleanup
1 parent 5b8b58e commit d6a8dc6

File tree

5 files changed

+14638
-54
lines changed

5 files changed

+14638
-54
lines changed

README.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1 @@
11
# 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)

example/src/App.tsx

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
import { Text, View, StyleSheet } from 'react-native';
2-
import { multiply } from 'react-native-css-animations';
3-
4-
const result = multiply(3, 7);
5-
61
export default function App() {
7-
return (
8-
<View style={styles.container}>
9-
<Text>Result: {result}</Text>
10-
</View>
11-
);
2+
return null;
123
}
13-
14-
const styles = StyleSheet.create({
15-
container: {
16-
flex: 1,
17-
alignItems: 'center',
18-
justifyContent: 'center',
19-
},
20-
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-css-animations",
3-
"version": "0.1.0",
3+
"version": "0.0.1",
44
"description": "Effortless CSS animations and transitions in React Native",
55
"source": "./src/index.tsx",
66
"main": "./lib/commonjs/index.js",

src/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export function multiply(a: number, b: number): number {
2-
return a * b;
3-
}
1+
export function noop() {}

0 commit comments

Comments
 (0)