import 'package:flutter/material.dart';

import 'package:pweb/pages/payout_page/send/widgets/send_card.dart';
import 'package:pweb/utils/dimensions.dart';
import 'package:pweb/models/state/control_state.dart';


class PaymentPageSendSection extends StatelessWidget {
  final AppDimensions dimensions;
  final ControlState sendState;
  final int cooldownRemainingSeconds;
  final VoidCallback onSend;

  const PaymentPageSendSection({
    super.key,
    required this.dimensions,
    required this.sendState,
    required this.cooldownRemainingSeconds,
    required this.onSend,
  });

  @override
  Widget build(BuildContext context) {
    return PaymentSendCard(
      dimensions: dimensions,
      sendState: sendState,
      cooldownRemainingSeconds: cooldownRemainingSeconds,
      onSend: onSend,
    );
  }
}
