Modify snippets for react native
This commit is contained in:
parent
b656101a63
commit
59a58f66d1
2 changed files with 10 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
# --
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
const ${1:App} = () => {
|
||||
export default function ${1:App}() {
|
||||
return (
|
||||
<View>
|
||||
<Text>$1</Text>
|
||||
|
|
@ -12,6 +12,4 @@ const ${1:App} = () => {
|
|||
);
|
||||
}
|
||||
|
||||
export default $1;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue