Skip to content

Commit

Permalink
fix title on icon button
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mineev committed Aug 9, 2021
1 parent 7f0a01a commit 0bf8899
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/components/icon-button/icon-button.tsx
Original file line number Diff line number Diff line change
@@ -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<HTMLButtonElement> & RenderableProps<{ className?: string }>;
type Props = JSX.HTMLAttributes<HTMLButtonElement>;

export function IconButton({ title, children, className, ...props }: Props) {
export function IconButton({ children, className, ...props }: Props) {
return (
<button className={clsx('icon-button', className, styles.root)} {...props}>
{children}
Expand Down

0 comments on commit 0bf8899

Please sign in to comment.