2019-01-07 11:24:42 -08:00
|
|
|
// @flow
|
2019-02-04 20:41:45 -08:00
|
|
|
|
2019-01-07 11:24:42 -08:00
|
|
|
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 = () => (
|
2019-01-31 08:38:42 -08:00
|
|
|
<Wrapper data-testid='NoTransactions'>
|
2019-01-07 11:24:42 -08:00
|
|
|
<TextComponent value='No transactions!' />
|
|
|
|
</Wrapper>
|
|
|
|
);
|