import React, { FunctionComponent } from 'react';
import cn from 'classnames';

import { CardParametersGridProps } from '../types.d';

export const CardParametersGrid: FunctionComponent<CardParametersGridProps> = ({
  children,
  className = '',
  style,
}): React.ReactElement => {
  const classNames = cn({
    'card-parameters-grid': true,
    [className]: true,
  });
  return (
    <div className={classNames} style={style}>
      {children}
    </div>
  );
};
