Move Fade to its own component

Fixed todolist strikethrough styling with nested lists
This commit is contained in:
Tom Moor
2017-11-10 17:56:09 -08:00
parent ab13f51d5d
commit f34b32b2a3
7 changed files with 26 additions and 24 deletions

View File

@ -0,0 +1,9 @@
// @flow
import styled from 'styled-components';
import { fadeIn } from 'shared/styles/animations';
const Fade = styled.span`
animation: ${fadeIn} ${props => props.timing || '250ms'} ease-in-out;
`;
export default Fade;