Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8730cba

Browse files
committedMay 29, 2023
Chore(dist): dont ignore dist dir
1 parent 16f07c0 commit 8730cba

File tree

5 files changed

+9890
-21
lines changed

5 files changed

+9890
-21
lines changed
 

‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ node_modules
66

77
# builds
88
build
9-
dist
109

1110
# misc
1211
.DS_Store

‎README.md

+30-16
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
- original work by [thierryc](https://github.com/thierryc)
55
- dependencies
66
- [react-fullscreen](https://github.com/snakesilk/react-fullscreen)
7+
- peer dependencies
8+
- react18
9+
- react-dom 18
710
- [framer-motion](https://github.com/framer/motion/tree/main/packages/framer-motion)
811

912
## Install
@@ -22,30 +25,41 @@ bun add git@github.com:noahehall/react-fullerpage.git
2225
* FYI-2: you need to set backgroundColor for fullscreen mode
2326
* else it goes black, dunno, ignoring
2427
*/
25-
import {ReactFP, FPContainer, FPItem } from 'react-fullerpage'
28+
import { ReactFP, FPContainer, FPItem } from "react-fullerpage";
2629

2730
export const App = () => (
2831
<ReactFP>
2932
<FPContainer>
30-
<FPItem style={{
31-
backgroundColor: 'lime',
32-
height: '80vh', // defaults to 100vh
33-
padding: '1em',
34-
}}>1</FPItem>
33+
<FPItem
34+
style={{
35+
backgroundColor: "lime",
36+
height: "80vh", // defaults to 100vh
37+
padding: "1em",
38+
}}
39+
>
40+
1
41+
</FPItem>
3542

36-
<FPItem style={{
37-
backgroundColor: 'coral',
38-
padding: '1em',
39-
}}>2</FPItem>
43+
<FPItem
44+
style={{
45+
backgroundColor: "coral",
46+
padding: "1em",
47+
}}
48+
>
49+
2
50+
</FPItem>
4051

41-
<FPItem style={{
42-
backgroundColor: 'firebrick',
43-
padding: '1em',
44-
}}>3</FPItem>
52+
<FPItem
53+
style={{
54+
backgroundColor: "firebrick",
55+
padding: "1em",
56+
}}
57+
>
58+
3
59+
</FPItem>
4560
</FPContainer>
4661
</ReactFP>
47-
)
48-
62+
);
4963
```
5064

5165
## License (MIT)

‎bun.lockb

32 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)