aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal/text_header.tsx
blob: 4aabd47d0ae0e9197fe9cca9594ad04858a570d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Styles } from '@0xproject/react-shared';
import * as React from 'react';

export interface TextHeaderProps {
    labelText: string;
}

const styles: Styles = {
    title: {
        fontWeight: 'bold',
        fontSize: 20,
    },
};

export const TextHeader = (props: TextHeaderProps) => {
    return (
        <div className="py3" style={styles.title}>
            {props.labelText}
        </div>
    );
};