Anastasia Poupeney
7 years ago
10 changed files with 112 additions and 56 deletions
@ -0,0 +1,29 @@ |
|||
// @flow
|
|||
|
|||
import React, { PureComponent } from 'react' |
|||
import styled from 'styled-components' |
|||
|
|||
import Box from 'components/base/Box' |
|||
|
|||
type Props = { |
|||
icon: any, |
|||
} |
|||
class LedgerLiveLogo extends PureComponent<Props> { |
|||
render() { |
|||
const { icon, ...p } = this.props |
|||
return <LiveLogoContainer {...p}>{icon}</LiveLogoContainer> |
|||
} |
|||
} |
|||
|
|||
const LiveLogoContainer = styled(Box).attrs({ |
|||
borderRadius: '50%', |
|||
alignItems: 'center', |
|||
justifyContent: 'center', |
|||
})` |
|||
background-color: white; |
|||
box-shadow: 0 2px 24px 0 #00000014; |
|||
width: ${p => (p.width ? p.width : '80px')}; |
|||
height: ${p => (p.height ? p.height : '80px')}; |
|||
` |
|||
|
|||
export default LedgerLiveLogo |
@ -0,0 +1,17 @@ |
|||
// @flow
|
|||
|
|||
import React from 'react' |
|||
|
|||
const path = ( |
|||
<path |
|||
fill="currentColor" |
|||
transform="rotate(90 7.75 8.25)" |
|||
d="M7 4.56L4.28 7.28a.75.75 0 0 1-1.06-1.06l3.896-3.897A.765.765 0 0 1 7.75 2c.267 0 .5.13.633.323L12.28 6.22a.75.75 0 0 1-1.06 1.06L8.5 4.56v9.246c0 .383-.336.694-.75.694S7 14.19 7 13.806V4.56z" |
|||
/> |
|||
) |
|||
|
|||
export default ({ size, ...p }: { size: number }) => ( |
|||
<svg viewBox="0 0 16 16" height={size} width={size} {...p}> |
|||
{path} |
|||
</svg> |
|||
) |
Loading…
Reference in new issue