20 lines
405 B
JavaScript
20 lines
405 B
JavaScript
// @flow
|
|
import React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
import { TextComponent } from './text';
|
|
|
|
const Wrapper = styled.div`
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30px 0;
|
|
`;
|
|
|
|
export const EmptyTransactionsComponent = () => (
|
|
<Wrapper data-testid='NoTransactions'>
|
|
<TextComponent value='No transactions!' />
|
|
</Wrapper>
|
|
);
|