mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixing account details label colors (#14315)
This commit is contained in:
parent
a499d0f045
commit
13c087e2e9
33
ui/components/ui/editable-label/editable-label.stories.js
Normal file
33
ui/components/ui/editable-label/editable-label.stories.js
Normal file
@ -0,0 +1,33 @@
|
||||
import React from 'react';
|
||||
import EditableLabel from '.';
|
||||
|
||||
export default {
|
||||
title: 'Components/UI/EditableLabel',
|
||||
id: __filename,
|
||||
argTypes: {
|
||||
onSubmit: {
|
||||
action: 'onSubmit',
|
||||
},
|
||||
defaultValue: {
|
||||
control: 'text',
|
||||
},
|
||||
className: {
|
||||
control: 'text',
|
||||
},
|
||||
accountsNames: {
|
||||
control: 'array',
|
||||
},
|
||||
},
|
||||
args: {
|
||||
defaultValue: 'Account 3',
|
||||
accountsNames: ['Account 1', 'Account 2'],
|
||||
},
|
||||
};
|
||||
|
||||
export const DefaultStory = (args) => (
|
||||
<div style={{ position: 'relative', width: 335 }}>
|
||||
<EditableLabel {...args} />
|
||||
</div>
|
||||
);
|
||||
|
||||
DefaultStory.storyName = 'Default';
|
@ -14,6 +14,8 @@
|
||||
&__input {
|
||||
@include H6;
|
||||
|
||||
color: var(--color-text-default);
|
||||
background-color: var(--color-background-default);
|
||||
width: 250px;
|
||||
text-align: center;
|
||||
border: 1px solid var(--color-border-default);
|
||||
|
Loading…
Reference in New Issue
Block a user