actual/packages/desktop-client/src/components/tutorial/TransactionAdd.js

49 lines
1.3 KiB
JavaScript
Raw Normal View History

2022-04-29 02:44:38 +00:00
import React from 'react';
2022-04-29 02:44:38 +00:00
import { Tooltip, Pointer, P } from 'loot-design/src/components/common';
import { colors } from 'loot-design/src/style';
2022-04-29 02:44:38 +00:00
import { Title } from './common';
import Navigation from './Navigation';
2022-04-29 02:44:38 +00:00
function TransactionAdd({ targetRect, navigationProps }) {
return (
<Tooltip
targetRect={targetRect}
position="bottom-center"
width={400}
style={{
border: 'none',
backgroundColor: 'transparent',
color: colors.n1,
boxShadow: 'none',
marginTop: 5,
fontSize: 14
}}
>
<Pointer
backgroundColor="white"
pointerPosition="center"
innerStyle={{ padding: 20 }}
>
<Title>Let's add some transactions</Title>
<P>
You can add transactions in two ways: import files from your bank or
manually add individual transactions. You can usually download these
files straight from your online bank account. (QIF/OFX/QFX is
supported, sometimes called a "Quicken File")
</P>
<P isLast={true}>
2022-07-17 10:28:05 +00:00
Try <strong>clicking "Add New"</strong> to see how adding transactions
affects your budget.
2022-04-29 02:44:38 +00:00
</P>
<Navigation {...navigationProps} showBack={false} />
</Pointer>
</Tooltip>
);
}
export default TransactionAdd;