You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
528 B
24 lines
528 B
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import { Box, Flex } from 'rebass'
|
|
import { Text } from 'components/UI'
|
|
|
|
const PaySummaryRow = ({ left, right }) => (
|
|
<Box py={2}>
|
|
<Flex alignItems="center">
|
|
<Box width={1 / 2}>
|
|
<Text fontWeight="normal">{left}</Text>
|
|
</Box>
|
|
<Box width={1 / 2}>
|
|
<Text textAlign="right">{right}</Text>
|
|
</Box>
|
|
</Flex>
|
|
</Box>
|
|
)
|
|
|
|
PaySummaryRow.propTypes = {
|
|
left: PropTypes.any,
|
|
right: PropTypes.any
|
|
}
|
|
|
|
export default PaySummaryRow
|
|
|