Skip to content

Commit cbad8a1

Browse files
committed
fix: example
1 parent 1dee169 commit cbad8a1

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<a href="https://david-dm.org/ahmnouira/ionic-react-header-parallax?type=dev"><img src="https://david-dm.org/ahmnouira/ionic-react-header-parallax/dev-status.svg"></a>
2222
</p>
2323

24+
## [Live Demo](https://github-mjaqg5-pzh6fv.stackblitz.io)
25+
26+
## [Stackblitz Editor URL](https://stackblitz.com/edit/github-mjaqg5-pzh6fv?file=src/pages/Home.tsx)
27+
2428
## Installation with npm
2529

2630
```sh

example/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import * as React from 'react'
12
import { Redirect, Route } from 'react-router-dom'
23
import { IonApp, IonRouterOutlet } from '@ionic/react'
34
import { IonReactRouter } from '@ionic/react-router'

example/src/components/Lorem.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import * as React from 'react'
12
import './Lorem.css'
23

3-
export const Lorem: React.FC<{}> = ({}) => {
4+
export const Lorem: React.FC<{}> = ({ }) => {
45
return (
56
<div>
67
<p className="lorem">

example/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"resolveJsonModule": true,
1515
"isolatedModules": true,
1616
"noEmit": true,
17-
"jsx": "react-jsx"
17+
"jsx": "react"
1818
},
1919
"include": ["src"]
2020
}

0 commit comments

Comments
 (0)