diff --git a/frontend/app/components/icon-button/icon-button.tsx b/frontend/app/components/icon-button/icon-button.tsx index 460af5ed..e2aa0755 100644 --- a/frontend/app/components/icon-button/icon-button.tsx +++ b/frontend/app/components/icon-button/icon-button.tsx @@ -1,11 +1,11 @@ import clsx from 'clsx'; -import { h, RenderableProps, JSX } from 'preact'; +import { h, JSX } from 'preact'; import styles from './icon-button.module.css'; -type Props = JSX.HTMLAttributes & RenderableProps<{ className?: string }>; +type Props = JSX.HTMLAttributes; -export function IconButton({ title, children, className, ...props }: Props) { +export function IconButton({ children, className, ...props }: Props) { return (