import 'package:flutter/material.dart';

import 'package:pshared/models/recipient/recipient.dart';

import 'package:pweb/pages/payout_page/send/widgets/back_button.dart';
import 'package:pweb/widgets/sidebar/destinations.dart';


class PaymentPageBackSection extends StatelessWidget {
  final ValueChanged<Recipient?>? onBack;
  final Recipient? recipient;
  final PayoutDestination fallbackDestination;

  const PaymentPageBackSection({
    super.key,
    required this.onBack,
    required this.recipient,
    required this.fallbackDestination,
  });

  @override
  Widget build(BuildContext context) {
    return PaymentBackButton(
      onBack: onBack,
      recipient: recipient,
      fallbackDestination: fallbackDestination,
    );
  }
}
