import React from 'react';
import classNames from 'classnames';
import styles from './style.less';

export type ScrollContainerType = {
  className?: string;
  style?: React.CSSProperties;
};
const EasyvScrollContainer: React.FC<ScrollContainerType> = (props) => {
  const { children, className, style } = props;
  return (
    <div className={classNames(styles.scroll, className)} style={style}>
      {children}
    </div>
  );
};
export default EasyvScrollContainer;
