Skip to content

Commit

Permalink
chore(deps): update dependency @types/react to v17.0.45 (#2057)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sebastian Sebald <sebastian.sebald@gmail.com>
  • Loading branch information
3 people authored May 18, 2022
1 parent a411723 commit f4a696a
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 38 deletions.
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.

0 comments on commit f4a696a

Please sign in to comment.