import React from 'react';
import { string, node } from 'prop-types';
import classNames from 'classnames';

const TileAction = ({ children, className, ...rest }) => {
  return (
    <div className={classNames('tile-action', className)} {...rest}>
      {children}
    </div>
  );
};

/**
 * TileAction property types.
 */
TileAction.propTypes = {
  className: string,
  children: node
};

/**
 * TileAction default properties.
 */
TileAction.defaultProps = {};

export default TileAction;
