Browse Source

Update AccountPage button

master
meriadec 7 years ago
parent
commit
2d17fea640
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 11
      src/components/AccountPage.js
  2. 10
      src/icons/Controls.js

11
src/components/AccountPage.js

@ -19,6 +19,7 @@ import { openModal } from 'reducers/modals'
import Box, { Card } from 'components/base/Box'
import Button from 'components/base/Button'
import Icon from 'components/base/Icon'
import IconControls from 'icons/Controls'
import ReceiveBox from 'components/ReceiveBox'
import Text from 'components/base/Text'
import TransactionsList from 'components/TransactionsList'
@ -70,11 +71,13 @@ class AccountPage extends PureComponent<Props> {
</Box>
</Button>
<Button
style={{ width: 50 }}
icon="sliders-h"
color="fog"
style={{ width: 40, padding: 0 }}
onClick={() => openModal(MODAL_SETTINGS_ACCOUNT, { account })}
/>
>
<Box align="center">
<IconControls width={16} />
</Box>
</Button>
</Box>
</Box>
<Box horizontal flow={3}>

10
src/icons/Controls.js

@ -0,0 +1,10 @@
import React from 'react'
export default props => (
<svg viewBox="0 0 16 16" {...props}>
<path
fill="currentColor"
d="M3.417 14a.75.75 0 1 1-1.5 0V9.333a.75.75 0 1 1 1.5 0V14zm0-7.333a.75.75 0 0 1-1.5 0V2a.75.75 0 1 1 1.5 0v4.667zM8.75 14a.75.75 0 1 1-1.5 0V8a.75.75 0 0 1 1.5 0v6zm0-8.667a.75.75 0 1 1-1.5 0V2a.75.75 0 0 1 1.5 0v3.333zM14.083 14a.75.75 0 1 1-1.5 0v-3.333a.75.75 0 0 1 1.5 0V14zm0-6a.75.75 0 1 1-1.5 0V2a.75.75 0 0 1 1.5 0v6zM.667 10.083a.75.75 0 1 1 0-1.5h4a.75.75 0 0 1 0 1.5h-4zm5.333-4a.75.75 0 1 1 0-1.5h4a.75.75 0 1 1 0 1.5H6zm5.333 5.334a.75.75 0 0 1 0-1.5h4a.75.75 0 1 1 0 1.5h-4z"
/>
</svg>
)
Loading…
Cancel
Save