Add booking plugin components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lilith 2025-12-30 21:13:24 -08:00
parent 15a37214d7
commit aa41ff24a5

View file

@ -0,0 +1,29 @@
/**
* 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}`);
};