mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-08 15:40:44 +03:00
22 lines
424 B
JavaScript
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;
|