blob: ac214904c1dec332376afe9d2fd534bdb7fc948f (
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
|
import * as React from 'react';
import { Text } from 'ts/components/ui/text';
import { ListItem } from 'ts/pages/jobs/list/list_item';
import { colors } from 'ts/style/colors';
export interface HeaderItemProps {
headerText?: string;
}
export const HeaderItem: React.StatelessComponent<HeaderItemProps> = ({ headerText }) => {
return (
<div className="h2 lg-py4 md-py4 sm-py3">
<ListItem>
<Text
fontFamily="Roboto Mono"
fontSize="24px"
lineHeight="1.25"
minHeight="1.25em"
fontColor={colors.black}
>
{headerText}
</Text>
</ListItem>
</div>
);
};
|