Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @types/react to v17.0.45 #2057

Merged
merged 2 commits into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@types/mdx-js__react": "1.5.5",
"@types/react": "17.0.44",
"@types/react": "17.0.45",
"@types/react-helmet": "6.1.5",
"tsconfig-paths-webpack-plugin": "3.5.2"
},
Expand Down
1 change: 0 additions & 1 deletion docs/src/wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const WrapPageElement: GatsbyBrowser['wrapPageElement'] = ({
}) => {
return (
<>
{/* @ts-expect-error */}
<Helmet>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
Expand Down
7 changes: 4 additions & 3 deletions packages/components/src/Link/Link.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useRef } from 'react';
import React, { ReactNode, useRef } from 'react';
import { useLink } from '@react-aria/link';
import { ThemeExtension, useComponentStyles } from '@marigold/system';
import { PolymorphicComponent, PolymorphicProps } from '@marigold/types';
Expand All @@ -15,6 +15,7 @@ export interface LinkOwnProps extends BoxOwnProps {
disabled?: boolean;
variant?: string;
size?: string;
children?: ReactNode;
}

export interface LinkProps extends PolymorphicProps<LinkOwnProps, 'a'> {}
Expand All @@ -24,8 +25,8 @@ export interface LinkProps extends PolymorphicProps<LinkOwnProps, 'a'> {}
export const Link = (({
as = 'a',
variant,
size,
children,
size,
children,
disabled,
...props
}: LinkProps) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@types/react": "^17.x"
},
"devDependencies": {
"@types/react": "17.0.44"
"@types/react": "17.0.45"
},
"scripts": {
"build": "echo types only",
Expand Down
72 changes: 40 additions & 32 deletions pnpm-lock.yaml

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