mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
chore: add title prop
This commit is contained in:
@@ -9,6 +9,7 @@ import Button from '@/components/Button';
|
||||
import { cn, formatDate } from '@/lib/helper';
|
||||
|
||||
interface ApprovalStepsV2Props {
|
||||
title?: string;
|
||||
approvals?: BaseApproval[];
|
||||
steps: {
|
||||
step_number: number;
|
||||
@@ -23,6 +24,7 @@ interface ApprovalStepsV2Props {
|
||||
}
|
||||
|
||||
const ApprovalStepsV2 = ({
|
||||
title = 'Progress Details',
|
||||
approvals,
|
||||
steps,
|
||||
maxVisibleSteps = 2,
|
||||
@@ -99,7 +101,7 @@ const ApprovalStepsV2 = ({
|
||||
)}
|
||||
>
|
||||
<h4 className='text-base font-medium text-base-content/50 font-roboto'>
|
||||
Progress Details
|
||||
{title}
|
||||
</h4>
|
||||
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user