mirrored_repositories/espresso-cash-public/packages/espressocash_app/lib/storybook/stories
import 'package:storybook_flutter/storybook_flutter.dart';

import '../../../data/db/db.dart';
import '../../../features/currency/models/amount.dart';
import '../../../features/currency/models/currency.dart';
import '../../../features/ramp/models/ramp_partner.dart';
import '../../../features/ramp/screens/off_ramp_order_screen.dart';
import '../../utils.dart';

final offRampOrderScreenStory = Story(
  name: 'Screens/OffRampOrderScreen',
  builder: (context) => OffRampOrderScreenContent(
    order: (
      id: 'ORDER_ID',
      created: DateTime.now(),
      status: context.knobs.options(
        label: 'Status',
        initial: OffRampOrderStatus.depositTxRequired,
        options: OffRampOrderStatus.values.toOptions(),
      ),
      amount: const CryptoAmount(
        value: 10000000,
        cryptoCurrency: Currency.usdc,
      ),
      receiveAmount: null,
      partner: RampPartner.scalex,
      resolved: null,
      partnerOrderId: 'PARTNER_ORDER_ID',
      depositAddress: null,
      fee: null
    ),
  ),
);
