Clean all sizes, fonts and colors into style.js
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import { Text, Icon } from 'ui'
|
||||
import { sizeInfo } from 'ui/style'
|
||||
|
||||
export default class BoundEmailIcon extends React.Component {
|
||||
static propTypes = {
|
||||
@@ -26,7 +27,7 @@ export default class BoundEmailIcon extends React.Component {
|
||||
<div>
|
||||
<Text> </Text>
|
||||
<br />
|
||||
<Icon name={value ? 'confirmed' : 'warning'} size={30} margin={0} />
|
||||
<Icon name={value ? 'confirmed' : 'warning'} size={sizeInfo.formBoundIcon} margin={sizeInfo.formBoundIconMargin} />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user