Repository URL to install this package:
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
abstractions
/
B2B
/
DashboardOverview
/
DashboardCard
/
typings.ts
|
---|
import { ReactNode } from 'react'
// render prop interface
export interface DashboardCardRenderProp extends Function {
(props: DashboardCardProps): ReactNode
}
// component main props
export interface DashboardCardProps {
className?: string
children?: ReactNode
// renderProps
renderHeading?: DashboardCardRenderProp
renderDescription?: DashboardCardRenderProp
renderButton?: DashboardCardRenderProp
renderWrapper?: DashboardCardRenderProp
}