aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/jobs/list/header_item.tsx
blob: b130cb0c414ef39be6a7083a2eeefbab4923a387 (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
import * as React from 'react';

import { ListItem } from 'ts/pages/jobs/list/list_item';

export interface HeaderItemProps {
    headerText?: string;
}
export const HeaderItem: React.StatelessComponent<HeaderItemProps> = ({ headerText }) => {
    return (
        <div className="h2 lg-py4 md-py4 sm-py3">
            <ListItem>
                <div
                    style={{
                        fontFamily: 'Roboto Mono',
                        minHeight: '1.25em',
                        lineHeight: 1.25,
                    }}
                >
                    {headerText}
                </div>
            </ListItem>
        </div>
    );
};