mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
40e4a3653f
* WIP commit * Moving copy out of messages.json, styling changes * handling scroll button click and disable logic * moving scrollButton up to popover component, adding logic for accepting terms of use in popover and onboarding flows * adding terms of use to e2e wallet creation/import * adjusting failing unit test * fixing QR code e2e * updating welcome test * setting app state in fixtures * Update app/scripts/controllers/app-state.js removing console log Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Update ui/components/app/terms-of-use-popup/terms-of-use-popup.stories.js adding args to ToU popup storybook Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * Update ui/components/app/terms-of-use-popup/terms-of-use-popup.js Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net> * updating DS components in terms of use * popover styling changes * adding metametrics tracking * editing scrollbutton behavior * adding unit test * code fencing --------- Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
17 lines
329 B
JavaScript
17 lines
329 B
JavaScript
import React from 'react';
|
|
import TermsOfUsePopup from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/TermsOfUsePopup',
|
|
component: TermsOfUsePopup,
|
|
argTypes: {
|
|
onAccept: {
|
|
action: 'onAccept',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <TermsOfUsePopup {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|