content: import React from 'react';
  import { GeneralPropTypes, FlexboxPropTypes, createClassName, generalClassNames, removeProps, objectKeys } from '../utils';
  
  /**
   * Close button component.
   * http://foundation.zurb.com/sites/docs/close-button.html
   *
   * @param {Object} props
   * @returns {Object}
   */
  export const CloseButton = props => {
    const className = createClassName(
      props.noDefaultClassName ? null : 'close-button',
      props.className,
      generalClassNames(props)
    );
  
    const passProps = removeProps(props, objectKeys(CloseButton.propTypes));
  
    return <button {...passProps} className={className}/>;
  };
  
  CloseButton.propTypes = {
    ...GeneralPropTypes,
    ...FlexboxPropTypes
  };
  