Skip to content

Commit

Permalink
chore: fixed build errors with nextjs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Smit committed Aug 1, 2024
1 parent 97ff64e commit 35597f5
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/rvs.rivm.nl/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { Article, Button, ButtonGroup, Heading1, Link, Paragraph } from '@utrecht/component-library-react';
import { Logo } from '@rijkshuisstijl-community/components-react';
import './page.css';
Expand Down
1 change: 1 addition & 0 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
],
"sideEffects": false,
"dependencies": {
"@utrecht/component-library-react": "5.0.0",
"clsx": "2.1.1",
"date-fns": "3.6.0",
"lodash.chunk": "4.2.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/components-react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
export { Button } from './Button';
// Export all Utrecht components
export * from '@utrecht/component-library-react/dist/css-module';

// Export overwrites and new componentsexport { Button } from './Button';
export { Logo } from './Logo';
export type { LogoProps } from './Logo';
30 changes: 30 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 35597f5

Please sign in to comment.