1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01:00
metamask-extension/ui/components/app/signature-request-original
Thomas Huang 0bbcbe6e90
Continue converting tests from enzyme to @testing-library/react (#15956)
* Update mock state data

* Convert App Header test to tlr.

* Convert Gas Timing test to tlr.

* Convert Account Details Modal to tlr.

* Update Sig Req test to match mock state changes.

* Add test-ids to Editable Label for Account Details Modal

* Adjust selectors test for the mock state update.

* Add back gasIsLoading for selectors test.
2022-09-27 08:03:26 -07:00
..
__snapshots__ Continue converting tests from enzyme to @testing-library/react (#15956) 2022-09-27 08:03:26 -07:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
index.scss Fix Signature Request styles (#15621) 2022-08-18 23:54:44 +08:00
README.mdx Updated all instances of "Component API" to "Props" in storybook documentation (#15324) 2022-07-27 00:22:40 +05:30
signature-request-original.component.js Bump keystone package versions to latest (#15878) 2022-09-22 10:04:24 -05:00
signature-request-original.container.js update prettier (#15360) 2022-07-31 13:26:40 -05:00
signature-request-original.stories.js Storybook: add SignatureRequestOriginal (#14707) 2022-05-16 17:28:20 -05:00
signature-request-original.test.js Unit tests improvements (#15517) 2022-08-16 10:25:30 -05:00

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

import SignatureRequestOriginal from '.';

# Signature Request

dApp requesting a signature from the user. This component appears for eth_signTypedData signatures are not v3 or v4. For other signatures, please see SignatureRequest.

<Canvas>
  <Story id="ui-components-app-signature-request-signature-request-original-stories-js--default-story" />
</Canvas>

## Props

<ArgsTable of={SignatureRequestOriginal} />