2019-07-27 14:13:20 +02:00

17 lines
408 B
TypeScript

import * as React from 'react';
import { colors } from 'ts/utils/colors';
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>
);
};