Modify snippets for react native
This commit is contained in:
parent
b656101a63
commit
59a58f66d1
2 changed files with 10 additions and 3 deletions
9
flakes/emacs/config/snippets/tsx-ts-mode/rnrl
Normal file
9
flakes/emacs/config/snippets/tsx-ts-mode/rnrl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: react native router layout
|
||||
# key: rnrl
|
||||
# --
|
||||
import { Slot } from "expo-router";
|
||||
|
||||
export default function Layout() {
|
||||
return <Slot />
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue