Skip to content

Instantly share code, notes, and snippets.

@irekasoft
Last active September 12, 2023 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irekasoft/185c80a4363ee4a6fa8e464cd1cc492f to your computer and use it in GitHub Desktop.
Save irekasoft/185c80a4363ee4a6fa8e464cd1cc492f to your computer and use it in GitHub Desktop.
{
"Class Component": {
"prefix": "irp",
"body": [
"import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react'",
"import React from 'react'",
"",
"const ${1:$TM_FILENAME_BASE} = () => {",
" return (",
" <IonPage>",
" <IonHeader>",
" <IonToolbar>",
" <IonTitle>${1:$TM_FILENAME_BASE}</IonTitle>",
" </IonToolbar>",
" </IonHeader>",
" <IonContent>",
" </IonContent>",
" </IonPage>",
" )",
"}",
"",
"export default ${1:$TM_FILENAME_BASE};",
""
],
"description": "Ionic React Page"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment