content: import React from 'react';
  import PropTypes from 'prop-types';
  import clsx from 'clsx';
  import withStyles from '../styles/withStyles';
  
  export const styles = {
    /* Styles applied to the root element. */
    root: {
      position: 'absolute',
      right: 16,
      top: '50%',
      transform: 'translateY(-50%)',
    },
  };
  
  /**
   * Must be used as the last child of ListItem to function properly.
   */
  const ListItemSecondaryAction = React.forwardRef(function ListItemSecondaryAction(props, ref) {
    const { classes, className, ...other } = props;
  
    return <div className={clsx(classes.root, className)} ref={ref} {...other} />;
  });
  
  ListItemSecondaryAction.propTypes = {
    /**
     * The content of the component, normally an `IconButton` or selection control.
     */
    children: PropTypes.node,
    /**
     * Override or extend the styles applied to the component.
     * See [CSS API](#css) below for more details.
     */
    classes: PropTypes.object.isRequired,
    /**
     * @ignore
     */
    className: PropTypes.string,
  };
  
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
  
  export default withStyles(styles, { name: 'MuiListItemSecondaryAction' })(ListItemSecondaryAction);
  