Skip to content

Commit

Permalink
type ext for IconButtonProps
Browse files Browse the repository at this point in the history
  • Loading branch information
igorDykhta committed Aug 10, 2022
1 parent 3a3be58 commit 0b545d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/common/icon-button.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import {MouseEvent} from 'react';
import styled from 'styled-components';
import {Button, ButtonProps} from './styled-components';
interface IconButtonProps extends ButtonProps {
collapsed?: boolean;
theme?: object;
className?: string;
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
}

export const IconButton = styled(Button)<IconButtonProps>`
Expand Down

0 comments on commit 0b545d1

Please sign in to comment.