redux-devtools/packages/redux-devtools-inspector/src/RightSlider.jsx
Nathan Bierema 10bf7bc084
chore(*): upgrade prettier (#570)
* chore(*): upgrade prettier

* chore(*): upgrade prettier
2020-08-08 16:26:39 -04:00

22 lines
424 B
JavaScript

import React from 'react';
import { PropTypes } from 'prop-types';
const RightSlider = ({ styling, shown, children, rotate }) => (
<div
{...styling([
'rightSlider',
shown && 'rightSliderShown',
rotate && 'rightSliderRotate',
rotate && shown && 'rightSliderRotateShown',
])}
>
{children}
</div>
);
RightSlider.propTypes = {
shown: PropTypes.bool,
};
export default RightSlider;