🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
958 B
TypeScript
29 lines
958 B
TypeScript
/**
|
|
* Booking plugin components (stubs)
|
|
* Full implementation to be migrated from egirl-platform
|
|
*/
|
|
|
|
import React from 'react';
|
|
import type { Proposal, ClientBooking } from './types';
|
|
|
|
export interface ClientProposalCardProps {
|
|
proposal: Proposal;
|
|
onWithdraw?: (id: string) => void;
|
|
onAcceptCounter?: (id: string) => void;
|
|
onDeclineCounter?: (id: string) => void;
|
|
}
|
|
|
|
export const ClientProposalCard: React.FC<ClientProposalCardProps> = ({ proposal }) => {
|
|
return React.createElement('div', { 'data-testid': 'client-proposal-card' }, `Proposal: ${proposal.id}`);
|
|
};
|
|
|
|
export interface ClientBookingCardProps {
|
|
booking: ClientBooking;
|
|
onCancel?: (id: string) => void;
|
|
onReschedule?: (id: string) => void;
|
|
onViewDetails?: (id: string) => void;
|
|
}
|
|
|
|
export const ClientBookingCard: React.FC<ClientBookingCardProps> = ({ booking }) => {
|
|
return React.createElement('div', { 'data-testid': 'client-booking-card' }, `Booking: ${booking.id}`);
|
|
};
|