diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 04a21122f..ba61e6b78 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 6c7f46ab7..f7c3a3842 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { SvgIcon } from '@mui/material'; diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 2f07fdaa1..e42b314b4 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -14,7 +14,7 @@ * limitations under the License. */ -import type { PropsWithChildren } from 'react'; +import type {PropsWithChildren, JSX} from 'react'; import React, { useEffect } from 'react'; import { CssBaseline, ThemeProvider } from '@mui/material'; diff --git a/src/components/PageWithPosts.tsx b/src/components/PageWithPosts.tsx index 78e7c60d2..5a6b0791b 100644 --- a/src/components/PageWithPosts.tsx +++ b/src/components/PageWithPosts.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { PostContent, FooterContent, HeaderContent } from '../components'; diff --git a/src/components/PostContainer.tsx b/src/components/PostContainer.tsx index 5b0b37b6f..b138d305f 100644 --- a/src/components/PostContainer.tsx +++ b/src/components/PostContainer.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { Box, Container, Grid } from '@mui/material'; diff --git a/src/components/SEO.tsx b/src/components/SEO.tsx index 318e6d357..0bf3bf0c3 100644 --- a/src/components/SEO.tsx +++ b/src/components/SEO.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { PropsWithChildren } from 'react'; +import type {PropsWithChildren, JSX} from 'react'; import React from 'react'; import { ThemeProvider } from '@mui/material'; diff --git a/src/components/SocialLink.tsx b/src/components/SocialLink.tsx index 952171e26..e562b31fa 100644 --- a/src/components/SocialLink.tsx +++ b/src/components/SocialLink.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { LinkProps } from '@mui/material'; diff --git a/src/components/description/DescriptionPanel.tsx b/src/components/description/DescriptionPanel.tsx index b836eaf0e..34a96489a 100644 --- a/src/components/description/DescriptionPanel.tsx +++ b/src/components/description/DescriptionPanel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC } from 'react'; +import type {FC, JSX} from 'react'; import React from 'react'; import { Box } from '@mui/material'; diff --git a/src/components/description/MDXPanel.tsx b/src/components/description/MDXPanel.tsx index c22bf35cd..e5dfc49e7 100644 --- a/src/components/description/MDXPanel.tsx +++ b/src/components/description/MDXPanel.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC } from 'react'; +import type {FC, JSX} from 'react'; import React from 'react'; import { Box, Typography } from '@mui/material'; diff --git a/src/components/material-kit/Card/LibraryCard.tsx b/src/components/material-kit/Card/LibraryCard.tsx index 8bc1e92f0..528a62395 100644 --- a/src/components/material-kit/Card/LibraryCard.tsx +++ b/src/components/material-kit/Card/LibraryCard.tsx @@ -28,6 +28,7 @@ Coded by www.creative-tim.com * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/material-kit/Card/PostCard.tsx b/src/components/material-kit/Card/PostCard.tsx index 8857f9a77..cb7f19350 100644 --- a/src/components/material-kit/Card/PostCard.tsx +++ b/src/components/material-kit/Card/PostCard.tsx @@ -28,6 +28,7 @@ Coded by www.creative-tim.com * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/material-kit/MKBox/MKBox.tsx b/src/components/material-kit/MKBox/MKBox.tsx index 0157be5f2..9ea6ba996 100644 --- a/src/components/material-kit/MKBox/MKBox.tsx +++ b/src/components/material-kit/MKBox/MKBox.tsx @@ -24,7 +24,8 @@ ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import React, { forwardRef } from 'react'; +import type {JSX} from "react"; +import React, {forwardRef} from 'react'; import type { BoxTypeMap } from '@mui/system'; import type { BoxProps as MuiBoxProps } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/common/ActionButton.tsx b/src/components/material-kit/Navbar/common/ActionButton.tsx index 1cd804c6b..27628fc51 100644 --- a/src/components/material-kit/Navbar/common/ActionButton.tsx +++ b/src/components/material-kit/Navbar/common/ActionButton.tsx @@ -28,6 +28,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { ButtonProps } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/common/NavbarItem.tsx b/src/components/material-kit/Navbar/common/NavbarItem.tsx index 0a91faf9f..6dbcdf3af 100644 --- a/src/components/material-kit/Navbar/common/NavbarItem.tsx +++ b/src/components/material-kit/Navbar/common/NavbarItem.tsx @@ -25,7 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import type { PropsWithChildren } from 'react'; +import type {PropsWithChildren, JSX} from 'react'; import React from 'react'; // @mui material components diff --git a/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx b/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx index fd5214167..f4de3a827 100644 --- a/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx +++ b/src/components/material-kit/Navbar/desktop/DropdownDropdown.tsx @@ -25,7 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import type { Dispatch, SetStateAction } from 'react'; +import type {Dispatch, JSX, SetStateAction} from 'react'; import React from 'react'; import { Grow, Popper } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/desktop/DropdownLink.tsx b/src/components/material-kit/Navbar/desktop/DropdownLink.tsx index c5b69f122..a3cd4ea1d 100644 --- a/src/components/material-kit/Navbar/desktop/DropdownLink.tsx +++ b/src/components/material-kit/Navbar/desktop/DropdownLink.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/desktop/NavbarNav.tsx b/src/components/material-kit/Navbar/desktop/NavbarNav.tsx index ef29726fb..b49da5285 100644 --- a/src/components/material-kit/Navbar/desktop/NavbarNav.tsx +++ b/src/components/material-kit/Navbar/desktop/NavbarNav.tsx @@ -25,7 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import type { Dispatch, SetStateAction } from 'react'; +import type {Dispatch, JSX, SetStateAction} from 'react'; import React from 'react'; import type { HoverStyle } from '../common'; diff --git a/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx b/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx index 48638e7b5..f4beb3754 100644 --- a/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx +++ b/src/components/material-kit/Navbar/mobile/DropdownDropdown.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/mobile/DropdownLink.tsx b/src/components/material-kit/Navbar/mobile/DropdownLink.tsx index 671b13b6e..840ac8945 100644 --- a/src/components/material-kit/Navbar/mobile/DropdownLink.tsx +++ b/src/components/material-kit/Navbar/mobile/DropdownLink.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/components/material-kit/Navbar/mobile/NavDropdown.tsx b/src/components/material-kit/Navbar/mobile/NavDropdown.tsx index b8abf8cfb..ff51285a2 100644 --- a/src/components/material-kit/Navbar/mobile/NavDropdown.tsx +++ b/src/components/material-kit/Navbar/mobile/NavDropdown.tsx @@ -25,6 +25,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import type { HeaderRouteWithMenus } from '../../../Header'; diff --git a/src/components/material-kit/Navbar/mobile/NavbarButton.tsx b/src/components/material-kit/Navbar/mobile/NavbarButton.tsx index f5b40a3d1..fbdbc50fa 100644 --- a/src/components/material-kit/Navbar/mobile/NavbarButton.tsx +++ b/src/components/material-kit/Navbar/mobile/NavbarButton.tsx @@ -29,6 +29,7 @@ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ +import type {JSX} from 'react'; import React from 'react'; import { Close, Menu } from '@mui/icons-material'; diff --git a/src/components/material-kit/Navbar/mobile/NavbarNav.tsx b/src/components/material-kit/Navbar/mobile/NavbarNav.tsx index f5a6a0661..013b149f8 100644 --- a/src/components/material-kit/Navbar/mobile/NavbarNav.tsx +++ b/src/components/material-kit/Navbar/mobile/NavbarNav.tsx @@ -24,7 +24,8 @@ ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ -import React, { useState } from 'react'; +import type {JSX} from 'react'; +import React, { useState} from 'react'; // @mui material components import { Collapse } from '@mui/material'; diff --git a/src/components/modelGenerationApp/Features.tsx b/src/components/modelGenerationApp/Features.tsx index 38b1d3d55..f73d57747 100644 --- a/src/components/modelGenerationApp/Features.tsx +++ b/src/components/modelGenerationApp/Features.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC, PropsWithChildren } from 'react'; +import type {FC, PropsWithChildren, JSX} from 'react'; import React from 'react'; import type { BoxProps } from '@mui/material'; diff --git a/src/pages/404.tsx b/src/pages/404.tsx index f709a75b9..0a7a004b7 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import type { FC } from 'react'; +import type {FC, JSX} from 'react'; import React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/pages/blog.tsx b/src/pages/blog.tsx index 9f6acf61b..e1bd2cca8 100644 --- a/src/pages/blog.tsx +++ b/src/pages/blog.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/pages/index.tsx b/src/pages/index.tsx index fe2cdf4a7..6b18562cc 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/pages/news.tsx b/src/pages/news.tsx index 64f04afc4..b6394d660 100644 --- a/src/pages/news.tsx +++ b/src/pages/news.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from "react"; import * as React from 'react'; import type { HeadProps } from 'gatsby'; diff --git a/src/sections/SectionWithPosts.tsx b/src/sections/SectionWithPosts.tsx index 83511ac2a..2bd1fded2 100644 --- a/src/sections/SectionWithPosts.tsx +++ b/src/sections/SectionWithPosts.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { PostContent } from '../components'; diff --git a/src/sections/home/About.tsx b/src/sections/home/About.tsx index 711a8dfe2..3498f2cf0 100644 --- a/src/sections/home/About.tsx +++ b/src/sections/home/About.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { aboutContent } from '../../content'; diff --git a/src/sections/home/Blog.tsx b/src/sections/home/Blog.tsx index 4f7703a9f..0ac4ea1dc 100644 --- a/src/sections/home/Blog.tsx +++ b/src/sections/home/Blog.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { postsContent } from '../../content'; diff --git a/src/sections/home/Landing.tsx b/src/sections/home/Landing.tsx index 02043763e..386b7976a 100644 --- a/src/sections/home/Landing.tsx +++ b/src/sections/home/Landing.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import type { Theme } from '@mui/material'; diff --git a/src/sections/home/Libraries.tsx b/src/sections/home/Libraries.tsx index 6d06c93e6..90746640e 100644 --- a/src/sections/home/Libraries.tsx +++ b/src/sections/home/Libraries.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { Container, Grid } from '@mui/material'; diff --git a/src/sections/home/News.tsx b/src/sections/home/News.tsx index 75b6a92ba..c8665b4b9 100644 --- a/src/sections/home/News.tsx +++ b/src/sections/home/News.tsx @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +import type {JSX} from 'react'; import React from 'react'; import { newsContent } from '../../content';