Skip to content

Commit

Permalink
feat: 🐛 fix compatibility with next 13
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-software committed Nov 20, 2023
1 parent d4145e9 commit 9d5ebd2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
22 changes: 14 additions & 8 deletions package-lock.json

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

13 changes: 10 additions & 3 deletions package.json
Expand Up @@ -4,8 +4,15 @@
"version": "4.2.2",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"main": "./dist/index.umd.js",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist/**/*"
],
Expand Down Expand Up @@ -43,8 +50,8 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/css-modules": "^1.0.2",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"@vitejs/plugin-react": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Expand Up @@ -26,7 +26,7 @@ export type MaterialSymbolProps = {
style?: CSSProperties;
};

export type PolymorphicMaterialSymbolProps<C extends React.ElementType> = PolymorphicComponentProps<
export type PolymorphicMaterialSymbolProps<C extends ElementType> = PolymorphicComponentProps<
C,
MaterialSymbolProps
>;
Expand Down

0 comments on commit 9d5ebd2

Please sign in to comment.