message: Using IS_PLATFORM_IOS and IS_PLATFORM_ANDROID in ActionSheet component
diff: @@ -3,11 +3,9 @@ import PropTypes from 'prop-types';
  import PopoutWrapper from '../PopoutWrapper/PopoutWrapper';
  import getClassName from '../../helpers/getClassName';
  import classNames from '../../lib/classNames';
  -import { platform, ANDROID, IOS } from '../../lib/platform';
  +import { IS_PLATFORM_IOS, IS_PLATFORM_ANDROID } from '../../lib/platform';
  import transitionEvents from '../../lib/transitionEvents';
  -const osname = platform();
  -
  const baseClassNames = getClassName('ActionSheet');
  export default class ActionSheet extends React.Component {
  @@ -64,7 +62,7 @@ export default class ActionSheet extends React.Component {
  this.el.removeEventListener(eventName, eventHandler);
  this.el.addEventListener(eventName, eventHandler);
  } else {
  - setTimeout(eventHandler.bind(this), osname === ANDROID ? 200 : 300);
  + setTimeout(eventHandler.bind(this), IS_PLATFORM_ANDROID ? 200 : 300);
  }
  }
  @@ -74,7 +72,7 @@ export default class ActionSheet extends React.Component {
  return (
  <PopoutWrapper
  closing={this.state.closing}
  - v={osname === IOS ? 'bottom' : 'center'}
  + v={IS_PLATFORM_IOS ? 'bottom' : 'center'}
  h="center"
  className={className}
  style={style}
  @@ -83,7 +81,7 @@ export default class ActionSheet extends React.Component {
  <div {...restProps} ref={this.getRef} onClick={this.stopPropagation} className={classNames(baseClassNames, {
  'ActionSheet--closing': this.state.closing
  })}>
  - {osname === IOS &&
  + {IS_PLATFORM_IOS &&
  <header className="ActionSheet__header">
  {title && <div className="ActionSheet__title">{title}</div>}
  {text && <div className="ActionSheet__text">{text}</div>}
  