Skip to content

Commit

Permalink
fix: make typescript pass
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsek committed Jul 5, 2024
1 parent 7f38cdf commit 82a32fb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import { multiply } from 'react-native-audio-context';

const result = multiply(3, 7);

export default function App() {
return (
<View style={styles.container}>
<Text>Result: {result}</Text>
</View>
);
}
const App: React.FC = () => (
<View style={styles.container}>
<Text>Result: {result}</Text>
</View>
);

export default App;

const styles = StyleSheet.create({
container: {
Expand Down

0 comments on commit 82a32fb

Please sign in to comment.