Skip to content

Instantly share code, notes, and snippets.



Last active Jun 19, 2017
What would you like to do?
import styled from ‘styled-components’;
const Score = styled.div`
 /* some styles here … */
 font-size: ${props => props.length <= 2 ? 62 : 45}px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment