Pre migration adjustments (#506)
* fix: added close button to accountDetails * fix: fixed the AccountList to load async * fix: fixed the heart size on the AccountStats * fix: added AccountDetails loading state * feat: added migration banner * fix: fixed tests
This commit is contained in:
@@ -6,6 +6,8 @@ import Text from 'components/Text'
|
||||
|
||||
interface Props {
|
||||
enableKeyPress?: boolean
|
||||
hideText?: boolean
|
||||
className?: string
|
||||
onClick: () => void
|
||||
}
|
||||
|
||||
@@ -34,10 +36,10 @@ export default function EscButton(props: Props) {
|
||||
leftIcon={<Cross />}
|
||||
iconClassName='w-3'
|
||||
color='tertiary'
|
||||
className='h-3 w-13'
|
||||
className={props.className ? props.className : 'h-3 w-13'}
|
||||
size='xs'
|
||||
>
|
||||
<Text size='2xs'>ESC</Text>
|
||||
{!props.hideText && <Text size='2xs'>ESC</Text>}
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user