mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-13 21:26:44 +03:00
10bf7bc084
* chore(*): upgrade prettier * chore(*): upgrade prettier
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;
|