content: /**
   * Copyright IBM Corp. 2016, 2018
   *
   * This source code is licensed under the Apache-2.0 license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  import PropTypes from 'prop-types';
  import React from 'react';
  import classnames from 'classnames';
  import { settings } from 'carbon-components';
  
  const { prefix } = settings;
  
  const ListItem = ({ children, className, ...other }) => {
    const classNames = classnames(`${prefix}--list__item`, className);
    return (
      <li className={classNames} {...other}>
        {children}
      </li>
    );
  };
  
  ListItem.propTypes = {
    /**
     * Specify the content for the ListItem
     */
    children: PropTypes.node,
  
    /**
     * Specify an optional className to apply to the underlying `<li>` node
     */
    className: PropTypes.string,
  };
  
  export default ListItem;
  