Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0eb7d12

Browse files
committed
fixup! Import PropsWithChildren in a few components
1 parentcc5008c commit0eb7d12

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

‎site/src/components/AppLink/AppLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Button from "@material-ui/core/Button"
22
importLinkfrom"@material-ui/core/Link"
33
import{makeStyles}from"@material-ui/core/styles"
44
importComputerIconfrom"@material-ui/icons/Computer"
5-
import{FC}from"react"
5+
import{FC,PropsWithChildren}from"react"
66
import*asTypesGenfrom"../../api/typesGenerated"
77
import{generateRandomString}from"../../util/random"
88

‎site/src/components/TableCellData/TableCellData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface StyleProps {
66
highlight?:boolean
77
}
88

9-
exportconstTableCellData:React.FC<React.PropsWithChildren<unknown>>=({ children})=>{
9+
exportconstTableCellData:React.FC<React.ReactNode>=({ children})=>{
1010
return<Stackspacing={0}>{children}</Stack>
1111
}
1212

‎yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp