Fixing account details label colors (#14315)

feature/default_network_editable
George Marshall 3 years ago committed by GitHub
parent fd32d3eb2b
commit 44b4b9b012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 33
      ui/components/ui/editable-label/editable-label.stories.js
  2. 2
      ui/components/ui/editable-label/index.scss

@ -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…
Cancel
Save