ApprovalCard
Approval request with title, command detail, approve and reject actions and decided state.
beta
Examples
Live examples for this component are on the way.
API
import ApprovalCard from '@tcpsystems/ui/foundation/ApprovalCard';| Prop | Type | Default |
|---|---|---|
approval? | Approval | none |
labels? | Pick<typeof chatLabels, 'approvalTitle' | 'approve' | 'reject' | 'approved' | 'rejected'> & { approvalEmpty?: string } | chatLabels |
| Hook | Kind |
|---|---|
.tcp-button | Root class |
data-state | Data attribute |