We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b85491 commit 029dffbCopy full SHA for 029dffb
src/Shared/Components/InfoBlock/types.ts
@@ -1,7 +1,7 @@
1
import { ComponentSizeType } from '@Shared/constants'
2
import { BorderConfigType, ComponentLayoutType } from '@Shared/types'
3
import { ReactElement, ReactNode } from 'react'
4
-import { ButtonProps } from '../Button'
+import { ButtonComponentType, ButtonProps } from '../Button'
5
6
export type InfoBlockProps = {
7
/**
@@ -20,7 +20,7 @@ export type InfoBlockProps = {
20
* If given would override the default icon derived from type
21
*/
22
customIcon?: ReactElement
23
- buttonProps?: ButtonProps
+ buttonProps?: ButtonProps<ButtonComponentType>
24
borderConfig?: BorderConfigType
25
borderRadiusConfig?: BorderConfigType
26
} & (
0 commit comments