nexxtway/react-rainbow

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

Summary

Maintainability
A
1 hr
Test Coverage
import styled from 'styled-components';
import attachThemeAttrs from '../../../../styles/helpers/attachThemeAttrs';

const StyledContentDay = attachThemeAttrs(styled.div)`
    ${props =>
        props.isToday &&
        `
            padding: 0px 11px;
            border: 1px solid ${props.palette.brand.main};
            border-radius: 12px;
        `};
`;

export default StyledContentDay;