Skip to content

Commit

Permalink
closes add react-wrap-balancer + wrapper #157
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthaktexas committed Jun 23, 2023
1 parent 91651c2 commit 3222486
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ The best Next.js boilerplate ever.
- `framer-motion` - for making interactive components and eye-catching animations
- `react-icons` - for including your favorite icon packs without increasing bundle size significantly. Tree shaking included.
- `classnames` - for conditionally applying classes to components
- `react-wrap-balancer` - for balancing text widths for titles and paragraphs

© 2021 Sarthak Mohanty. Licensed under the [Unlicense](LICENSE) from Mozilla.
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"react": "^18.0.0",
"react-dom": "^18.2.0",
"react-icons": "^4.8.0",
"react-wrap-balancer": "^1.0.0",
"swr": "^2.2.0"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import '../styles/globals.css'
import { ThemeProvider } from 'next-themes'
import { Provider } from 'react-wrap-balancer'

function MyApp({ Component, pageProps }) {
return (
<ThemeProvider defaultTheme="system" attribute="class">
<Component {...pageProps} />
<Provider>
<Component {...pageProps} />
</Provider>
</ThemeProvider>
)
}
Expand Down

0 comments on commit 3222486

Please sign in to comment.