aboutsummaryrefslogblamecommitdiffstats
path: root/packages/instant/src/components/section_header.tsx
blob: 2185b67ba06a8cb8f5e7a65ace335d2c1954207e (plain) (tree)
1
2
3
4
5
6
7
8





                                             

                                                                                     











                                                
                                            
import * as React from 'react';

import { ColorOption } from '../style/theme';

import { Text } from './ui/text';

export interface SectionHeaderProps {}
export const SectionHeader: React.StatelessComponent<SectionHeaderProps> = props => {
    return (
        <Text
            letterSpacing="1px"
            fontColor={ColorOption.primaryColor}
            fontWeight={600}
            textTransform="uppercase"
            fontSize="12px"
        >
            {props.children}
        </Text>
    );
};
SectionHeader.displayName = 'SectionHeader';