Fix/14230 dark mode fixes (#14305)
* Dark mode fixes * removing unused icon svgfeature/default_network_editable
parent
ba909c3055
commit
36a736d3b5
Before Width: | Height: | Size: 369 B |
@ -0,0 +1,49 @@ |
||||
import React from 'react'; |
||||
import AppHeader from '.'; |
||||
|
||||
export default { |
||||
title: 'Components/App/AppHeader', |
||||
id: __filename, |
||||
argTypes: { |
||||
history: { |
||||
control: 'object', |
||||
}, |
||||
networkDropdownOpen: { |
||||
control: 'boolean', |
||||
}, |
||||
showNetworkDropdown: { |
||||
action: 'showNetworkDropdown', |
||||
}, |
||||
hideNetworkDropdown: { |
||||
action: 'hideNetworkDropdown', |
||||
}, |
||||
toggleAccountMenu: { |
||||
action: 'toggleAccountMenu', |
||||
}, |
||||
selectedAddress: { |
||||
control: 'text', |
||||
}, |
||||
isUnlocked: { |
||||
control: 'boolean', |
||||
}, |
||||
hideNetworkIndicator: { |
||||
control: 'boolean', |
||||
}, |
||||
disabled: { |
||||
control: 'boolean', |
||||
}, |
||||
disableNetworkIndicator: { |
||||
control: 'boolean', |
||||
}, |
||||
isAccountMenuOpen: { |
||||
control: 'boolean', |
||||
}, |
||||
onClick: { |
||||
action: 'onClick', |
||||
}, |
||||
}, |
||||
}; |
||||
|
||||
export const DefaultStory = (args) => <AppHeader {...args} />; |
||||
|
||||
DefaultStory.storyName = 'Default'; |
@ -0,0 +1,22 @@ |
||||
import React from 'react'; |
||||
import RevealSeedPage from './reveal-seed'; |
||||
|
||||
export default { |
||||
title: 'Pages/Keychains/RevealSeedPage', |
||||
id: __filename, |
||||
argTypes: { |
||||
requestRevealSeedWords: { |
||||
action: 'requestRevealSeedWords', |
||||
}, |
||||
history: { |
||||
control: 'object', |
||||
}, |
||||
mostRecentOverviewPage: { |
||||
control: 'text', |
||||
}, |
||||
}, |
||||
}; |
||||
|
||||
export const DefaultStory = (args) => <RevealSeedPage {...args} />; |
||||
|
||||
DefaultStory.storyName = 'Default'; |
Loading…
Reference in new issue