Skip to content

Commit 029dffb

Browse files
committed
fix: update InfoBlockProps to use ButtonComponentType for buttonProps
1 parent 2b85491 commit 029dffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Shared/Components/InfoBlock/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ComponentSizeType } from '@Shared/constants'
22
import { BorderConfigType, ComponentLayoutType } from '@Shared/types'
33
import { ReactElement, ReactNode } from 'react'
4-
import { ButtonProps } from '../Button'
4+
import { ButtonComponentType, ButtonProps } from '../Button'
55

66
export type InfoBlockProps = {
77
/**
@@ -20,7 +20,7 @@ export type InfoBlockProps = {
2020
* If given would override the default icon derived from type
2121
*/
2222
customIcon?: ReactElement
23-
buttonProps?: ButtonProps
23+
buttonProps?: ButtonProps<ButtonComponentType>
2424
borderConfig?: BorderConfigType
2525
borderRadiusConfig?: BorderConfigType
2626
} & (

0 commit comments

Comments
 (0)