Skip to content

Commit aef5416

Browse files
committed
feat: add nextjs 16 support
1 parent 0d9f810 commit aef5416

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"typescript": "^5.5.2"
5959
},
6060
"peerDependencies": {
61-
"next": "^15.3.5",
61+
"next": "^15.3.5 || ^16",
6262
"react": "^19.1.0",
6363
"react-dom": "^19.1.0"
6464
},

src/styleguide/Layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use client';
22

3+
import './styles.css';
34
import Link from 'next/link';
45
import { useState } from 'react';
56
import { StyleguideContent } from '../types';

src/styleguide/Route.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import Layout from './Layout';
22
import { getPageContent } from './utils';
33
import { StyleguideContent } from 'src/types';
44

5-
import './styles.css';
65
import { notFound } from 'next/navigation';
76

87
type StyleguidePageProps = {

0 commit comments

Comments
 (0)