Updated Account component action title text
• Updated: - Account component action title text
This commit is contained in:
parent
516b7852b8
commit
7c86ceca42
@ -20,6 +20,7 @@ import AccountActionButton from './account_action_button'
|
|||||||
import Avatar from './avatar'
|
import Avatar from './avatar'
|
||||||
import DisplayName from './display_name'
|
import DisplayName from './display_name'
|
||||||
import Button from './button'
|
import Button from './button'
|
||||||
|
import Text from './text'
|
||||||
|
|
||||||
const makeMapStateToProps = (state, props) => ({
|
const makeMapStateToProps = (state, props) => ({
|
||||||
account: makeGetAccount()(state, props.id),
|
account: makeGetAccount()(state, props.id),
|
||||||
@ -135,11 +136,13 @@ class Account extends ImmutablePureComponent {
|
|||||||
isOutline={true}
|
isOutline={true}
|
||||||
color='brand'
|
color='brand'
|
||||||
backgroundColor='none'
|
backgroundColor='none'
|
||||||
className={_s.px10}
|
className={[_s.px10, _s.flexRow, _s.alignItemsCenter].join(' ')}
|
||||||
icon={actionIcon}
|
icon={actionIcon}
|
||||||
iconSize='10px'
|
iconSize='10px'
|
||||||
>
|
>
|
||||||
|
<Text color='inherit' className={_s.ml5}>
|
||||||
{actionTitle}
|
{actionTitle}
|
||||||
|
</Text>
|
||||||
</Button>
|
</Button>
|
||||||
) : <AccountActionButton account={account} isSmall />
|
) : <AccountActionButton account={account} isSmall />
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user