Skip to content

Commit

Permalink
feature/change version
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaioValente committed Aug 24, 2023
1 parent a711cf4 commit 8cfb0ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
import * as React from 'react';

import { StyleSheet, View, Text } from 'react-native';
import { multiply } from 'waiuru-mobile-ui';
import { StyleSheet, View } from 'react-native';

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

React.useEffect(() => {
multiply(3, 7).then(setResult);
}, []);
import { Button } from 'waiuru-mobile-ui';

export default function App() {
return (
<View style={styles.container}>
<Text>Result: {result}</Text>
<Button loading label="Teste Button" />
</View>
);
}
Expand All @@ -22,6 +17,8 @@ const styles = StyleSheet.create({
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: '#383838',
padding: 22,
},
box: {
width: 60,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "waiuru-mobile-ui",
"version": "0.1.1",
"version": "1.0.1",
"description": "waiuru mobile ui ",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 8cfb0ff

Please sign in to comment.