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

import { Text } from 'ts/components/ui/text';

export interface TextHeaderProps {
    labelText: string;
}

export const TextHeader = (props: TextHeaderProps) => {
    return (
        <Text className="pt3 pb2" fontWeight="bold" fontSize="16px" fontColor={colors.darkestGrey}>
            {props.labelText}
        </Text>
    );
};