nexxtway/react-rainbow

View on GitHub
src/components/WeeklyCalendar/header/styled/hours.js

Summary

Maintainability
A
40 mins
Test Coverage
import styled from 'styled-components';
import attachThemeAttrs from '../../../../styles/helpers/attachThemeAttrs';
import { FONT_SIZE_TEXT_SMALL } from '../../../../styles/fontSizes';

const StyledHours = attachThemeAttrs(styled.h4)`
    flex:none;
    text-align: center;
    color: ${props => props.palette.text.main};
    min-width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: ${FONT_SIZE_TEXT_SMALL};
`;

export default StyledHours;