Skip to content

Component 层重构:Input/Display 组件使用 Amount #71

Closed

Description

@Gaubee

Part of #63

任务

所有金额相关组件使用 Amount 类型。

Input 组件

  • AmountInput → onChange: (Amount | null) => void

Display 组件

  • AmountDisplay → value: Amount
  • BalanceDisplay → value: Amount
  • FeeDisplay → amount: Amount
  • AssetItem → asset.amount: Amount
  • TransactionItem → tx.amount: Amount

Confirm 组件

  • TransferConfirmSheet → amount: Amount, fee: Amount
  • SendResult → amount: Amount

验收标准

  • 所有组件类型更新
  • Storybook 更新
  • 测试通过

Activity

  1. Gaubee commented on Dec 22, 2025

    @Gaubee
    ContributorAuthor

    Completed in PR #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions