From 184ac7efb688c5637da02ba13fdb0fb89e808fe9 Mon Sep 17 00:00:00 2001 From: Pavel Mineev Date: Mon, 9 Aug 2021 09:39:01 +0300 Subject: [PATCH] fix title on icon button --- frontend/app/components/icon-button/icon-button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 (