import React, { FunctionComponent } from 'react'; import PropTypes from 'prop-types'; import { StylingFunction } from 'react-base16-styling'; interface Props { styling: StylingFunction; shown?: boolean; children: React.ReactNode; rotate?: boolean; } const RightSlider: FunctionComponent = ({ styling, shown, children, rotate, }) => (
{children}
); RightSlider.propTypes = { styling: PropTypes.func.isRequired, shown: PropTypes.bool, children: PropTypes.any.isRequired, rotate: PropTypes.bool, }; export default RightSlider;