refactor: use React.JSX rather than global JSX (#93)

This commit is contained in:
Marco Pasqualetti
2024-11-13 08:33:48 +01:00
committed by GitHub
parent 6331eb64e6
commit 7b8165cee6
40 changed files with 79 additions and 40 deletions
@@ -1,8 +1,10 @@
import type { JSX } from 'react'
import { Flex, Button, ActionIcon, Group } from '@mantine/core'
import { IconBrandGithub, IconBook, IconBrandX } from '@tabler/icons-react'
import ThemeBtn from '../theme-btn'
import { Link } from 'tuono'
import ThemeBtn from '../theme-btn'
export default function Actions(): JSX.Element {
return (
<Flex gap={8}>
@@ -1,5 +1,7 @@
import type { JSX } from 'react'
import { AppShell, Burger, Button, Flex } from '@mantine/core'
import { Link, useRouter } from 'tuono'
import Actions from './actions'
interface NavbarProps {