aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal/text_header.tsx
blob: b6045b832389a551845b733c2bd01af508c4091b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { colors } from '@0x/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>
    );
};