Skip to content

Instantly share code, notes, and snippets.

@weslleyaraujo

weslleyaraujo/score.js

Last active Jun 19, 2017
Embed
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