blob: b27cd5329c8b54c61d2e4b8e8ea0987c32642bd8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import React from 'react';
import styled from 'styled-components'
const Bold = styled.span`
font-weight: 700
`
const FloatLeft = styled.p`
float: left;
display: inline-block;
margin: 0;
`
const FloatRight = styled.p`
float: right;
display: inline-block;
margin: 0;
margin-right: -1em;
`
const PasteInfo = (props) => {
return (
<div>
<FloatLeft><Bold>mode: </Bold>{props.mode}</FloatLeft>
<FloatRight><Bold>expires: </Bold>{props.expiry}</FloatRight>
</div>
);
}
export default PasteInfo
|