diff --git a/package.json b/package.json index 97b020db..93b5919d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webdevhome.github.io-vite", - "version": "2.0.11", + "version": "2.0.11.1", "scripts": { "dev": "vite", "build": "tsc && vite build", diff --git a/src/components/App/AppContent.tsx b/src/components/App/AppContent.tsx index f75c2f35..c4b981c2 100644 --- a/src/components/App/AppContent.tsx +++ b/src/components/App/AppContent.tsx @@ -1,7 +1,7 @@ import classNames from 'classnames' -import { FC } from 'react' +import { FC, PropsWithChildren } from 'react' -export const AppContent: FC = ({ children }) => { +export const AppContent: FC = ({ children }) => { return (
{ +export const AppFooter: FC = ({ children }) => { return (
= ({ href, children }) => { +export const FooterGroupLink: FC> = ({ + href, + children, +}) => { return ( = ({ href, children }) => { 'hover:text-brand-600 hover:dark:text-brand-50', 'hover:bg-gray-300 dark:hover:bg-gray-500', 'rounded', - 'focus:outline outline-1 outline-gray-500 dark:outline-gray-300' + 'focus:outline outline-1 outline-gray-500 dark:outline-gray-300', )} href={href} > diff --git a/src/components/Footer/FooterGroupText.tsx b/src/components/Footer/FooterGroupText.tsx index caa7fb31..06050f57 100644 --- a/src/components/Footer/FooterGroupText.tsx +++ b/src/components/Footer/FooterGroupText.tsx @@ -1,11 +1,14 @@ import classNames from 'classnames' -import { FC } from 'react' +import { FC, PropsWithChildren } from 'react' interface Props { className?: string } -export const FooterGroupText: FC = ({ className = '', children }) => { +export const FooterGroupText: FC> = ({ + className = '', + children, +}) => { return (
{children} diff --git a/src/components/Links/LinkAction.tsx b/src/components/Links/LinkAction.tsx index 8ef8506c..035acf6d 100644 --- a/src/components/Links/LinkAction.tsx +++ b/src/components/Links/LinkAction.tsx @@ -1,5 +1,5 @@ import classNames from 'classnames' -import { FC, MouseEvent } from 'react' +import { FC, MouseEvent, PropsWithChildren } from 'react' interface Props { className?: string @@ -7,7 +7,7 @@ interface Props { onClick?: (event: MouseEvent) => void } -export const LinkAction: FC = ({ +export const LinkAction: FC> = ({ children, className, hasHover = false, diff --git a/src/components/Links/LinkGroupButton.tsx b/src/components/Links/LinkGroupButton.tsx index 9210ed5a..6c4d72f2 100644 --- a/src/components/Links/LinkGroupButton.tsx +++ b/src/components/Links/LinkGroupButton.tsx @@ -1,11 +1,14 @@ import classNames from 'classnames' -import { FC } from 'react' +import { FC, PropsWithChildren } from 'react' interface Props { onClick?: () => void } -export const LinkGroupButton: FC = ({ children, onClick }) => { +export const LinkGroupButton: FC> = ({ + children, + onClick, +}) => { return (