Control snippets directory
This commit is contained in:
parent
5be65ef2da
commit
bcc6a42f1a
3 changed files with 20 additions and 0 deletions
17
nix/config/emacs/snippets/tsx-ts-mode/rnfc
Normal file
17
nix/config/emacs/snippets/tsx-ts-mode/rnfc
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: react native functional component
|
||||
# key: rnfc
|
||||
# --
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
const ${1:App} = () => {
|
||||
return (
|
||||
<View>
|
||||
<Text>$1</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
export default $1;
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue