Skip to main content

OrderSummaryProps

Props for the FeatureCard component

Example

<OrderSummary
tutor="John Doe"
topic="Mathematics"
duration="1 hour"
price={50}
serviceFee={5}
total={55}
className="custom-class"
/>

Properties

className?

optional className: string;

Additional CSS class for custom styling


duration

duration: string;

The duration of the lesson


price

price: number;

The price of the lesson


serviceFee

serviceFee: number;

The service fee for the lesson


topic

topic: string;

The topic of the lesson


total?

optional total: number;

The total amount for the order, if not provided, it will be calculated as price + serviceFee


tutor

tutor: string;

The name of the tutor