Skip to content

Commit 68e0674

Browse files
committed
fix: example project
1 parent e112bf1 commit 68e0674

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"@types/react-dom": "^16.9.10",
1515
"@types/react-router": "^5.1.11",
1616
"@types/react-router-dom": "^5.1.7",
17+
"ionic-react-header-parallax": "^0.3.0",
1718
"ionicons": "^5.4.0",
1819
"react": "^17.0.1",
1920
"react-dom": "^17.0.1",
2021
"react-router": "^5.2.0",
2122
"react-router-dom": "^5.2.0",
2223
"react-scripts": "^5.0.0",
23-
"ionic-react-header-parallax": "0.2.0",
2424
"typescript": "^4.1.3",
2525
"web-vitals": "^0.2.4",
2626
"workbox-background-sync": "^5.1.4",

example/src/components/Lorem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import './Lorem.css'
22

3-
export const Lorem: React.FC<{}> = ({}) => {
3+
export const Lorem: React.FC = () => {
44
return (
55
<div>
66
<p className="lorem">

example/src/pages/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import './Home.css'
66
import { useIonHeaderParallax } from 'ionic-react-header-parallax'
77

88
const Home: React.FC = () => {
9-
const { ref, loading } = useIonHeaderParallax({
9+
const { ref } = useIonHeaderParallax({
1010
image: 'https://picsum.photos/1080',
1111
titleColor: 'black',
1212
showBarButtons: true,

example/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4823,6 +4823,11 @@ internal-slot@^1.0.3:
48234823
has "^1.0.3"
48244824
side-channel "^1.0.4"
48254825

4826+
ionic-react-header-parallax@^0.3.0:
4827+
version "0.3.0"
4828+
resolved "https://registry.yarnpkg.com/ionic-react-header-parallax/-/ionic-react-header-parallax-0.3.0.tgz#4cfa9712525c10d7225b34e2ce5bb9ab7a5bf828"
4829+
integrity sha512-+jiuSI6Q/P4p42jFAeygM/4uKcKuj/sooxj+m57cxsf+4DlApw4IOG0Cy5NiwrZY469nsnsgiWbhStBiaLn2Bw==
4830+
48264831
ionicons@^5.4.0:
48274832
version "5.5.4"
48284833
resolved "https://registry.yarnpkg.com/ionicons/-/ionicons-5.5.4.tgz#5fef0c44038a630f5bb5f9a7dc83ec158bab95b1"

0 commit comments

Comments
 (0)