function Rail(props) {
  var attached = props.attached,
      children = props.children,
      className = props.className,
      close = props.close,
      dividing = props.dividing,
      internal = props.internal,
      position = props.position,
      size = props.size;


  var classes = cx('ui', position, size, useKeyOnly(attached, 'attached'), useKeyOnly(dividing, 'dividing'), useKeyOnly(internal, 'internal'), useKeyOrValueAndKey(close, 'close'), 'rail', className);
  var rest = getUnhandledProps(Rail, props);
  var ElementType = getElementType(Rail, props);

  return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    children
  );
}
/**
 * A rail is used to show accompanying content outside the boundaries of the main view of a site.
 */
A rail is used to show accompanying content outside the boundaries of the main view of a site.
A rail is used to show accompanying content outside the boundaries of the main view of a site .
function Rail(props) {
  var attached = props.attached,
      children = props.children,
      className = props.className,
      close = props.close,
      dividing = props.dividing,
      internal = props.internal,
      position = props.position,
      size = props.size;
  var classes = cx('ui', position, size, useKeyOnly(attached, 'attached'), useKeyOnly(dividing, 'dividing'), useKeyOnly(internal, 'internal'), useKeyOrValueAndKey(close, 'close'), 'rail', className);
  var rest = getUnhandledProps(Rail, props);
  var ElementType = getElementType(Rail, props);
  return React.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    children
  );
}
function Rail ( props ) { var attached = props . attached , children = props . children , className = props . className , close = props . close , dividing = props . dividing , internal = props . internal , position = props . position , size = props . size ; var classes = cx ( 'ui' , position , size , useKeyOnly ( attached , 'attached' ) , useKeyOnly ( dividing , 'dividing' ) , useKeyOnly ( internal , 'internal' ) , useKeyOrValueAndKey ( close , 'close' ) , 'rail' , className ) ; var rest = getUnhandledProps ( Rail , props ) ; var ElementType = getElementType ( Rail , props ) ; return React . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , children ) ; }
A rail is used to show accompanying content outside the boundaries of the main view of a site.
A rail is used to show accompanying content outside the boundaries of the main view of a site .