Repository URL to install this package:
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
abstractions
/
B2B
/
Approval
/
ApprovalStatus
/
typings.ts
|
---|
import { ReactNode } from 'react'
import { AnimatedCardState } from 'presets/AnimatedExpandableCard'
export interface ApprovalStatusRenderprop extends Function {
(props: ApprovalStatusProps): ReactNode
}
export interface ApprovalStatusProps {
className?: string
children?: ReactNode
state?: AnimatedCardState
// renderProps
renderUserInformation?: ApprovalStatusRenderprop
renderOrderInformation?: ApprovalStatusRenderprop
renderButton?: ApprovalStatusRenderprop
renderWrapper?: ApprovalStatusRenderprop
}