Skip to content

Commit

Permalink
refactor: clean up example
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanbigzad committed May 7, 2023
1 parent 9797e74 commit 445c062
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import * as React from 'react';

import { StyleSheet, View, Text } from 'react-native';
import { multiply } from 'react-native-raw-image';

export default function App() {
const [result, setResult] = React.useState<number | undefined>();

React.useEffect(() => {
multiply(3, 7).then(setResult);
}, []);

return (
<View style={styles.container}>
<Text>Result: {result}</Text>
<Text>It works</Text>
</View>
);
}
Expand Down

0 comments on commit 445c062

Please sign in to comment.