This commit is contained in:
Tom Moor
2017-10-15 11:42:03 -07:00
parent 4dacef7f1e
commit e81ca4dde1
4 changed files with 87 additions and 56 deletions

View File

@ -1,18 +1,11 @@
// @flow
import React, { Component } from 'react';
import styled from 'styled-components';
const Scroll = styled.div`
const Scrollable = styled.div`
height: 100%;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
`;
class Scrollable extends Component {
render() {
return <Scroll {...this.props} />;
}
}
export default Scrollable;