1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/app/signature-request
Ariella Vu b5c1de900d
Refactor ConfirmTransaction to Functional Component (#17473)
* ConfirmTransaction: rm unused metricEvent context

* ConfirmTransaction: rm unused mapToProps props:
- unapprovedTxs
- id

* ConfirmTransaction: convert to FC

* ConfirmTransaction: use const ORIGIN_METAMASK

* ConfirmTransaction: rm mapStateToProps

* ConfirmTransaction: mv confirm-transaction ducks

* ConfirmTransaction: mv getContractMethodData duck

* ConfirmTransaction: rm container file

* ConfirmTransaction: use ORIGIN_METAMASK const

* ConfirmationTransaction: add tests

* ConfirmTransaction: update jest mock after merge

* tests: update snapshot after mock-state updates
2023-02-08 18:00:25 +07:00
..
__snapshots__ Refactor ConfirmTransaction to Functional Component (#17473) 2023-02-08 18:00:25 +07:00
signature-request-data feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
signature-request-footer Use PageContainerFooter to render footer on all confirmation pages (#17316) 2023-01-23 20:52:12 +05:30
signature-request-header Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
signature-request-message feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
index.scss Added navigation between multiple sign prompts and reject all sign prompts (#17093) 2023-01-31 16:29:23 +01:00
README.mdx Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
signature-request.component.js feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
signature-request.component.test.js Added navigation between multiple sign prompts and reject all sign prompts (#17093) 2023-01-31 16:29:23 +01:00
signature-request.constants.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
signature-request.container.js Added navigation between multiple sign prompts and reject all sign prompts (#17093) 2023-01-31 16:29:23 +01:00
signature-request.container.test.js Added navigation between multiple sign prompts and reject all sign prompts (#17093) 2023-01-31 16:29:23 +01:00
signature-request.stories.js Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30

import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';

import SignatureRequest from '.';

# Signature Request

dApp requesting a signature from the user.

<Canvas>
  <Story id="components-app-signaturerequest--default-story" />
</Canvas>

## Props

<ArgsTable of={SignatureRequest} />