import React, { PropTypes } from 'react'
import Alert from 'react-s-alert';

const Layout = ({ children }) => (
  <div>
    {children}
    <Alert stack={{ limit: 3 }} position="top-left" timeout={5000} html effect="stackslide" />
  </div>
)

Layout.propTypes = {
  children: PropTypes.element.isRequired,
}

export default Layout

import React, { PropTypes } from 'react'
import Alert from 'react-s-alert';

const Layout = ({ children }) => (
  <div>
    {children}
    <Alert
      stack={{ limit: 3 }}
      position="top-left"
      timeout={5000}
      effect="stackslide"
      offset={80}
      html
    />
  </div>
)

Layout.propTypes = {
  children: PropTypes.element.isRequired,
}

export default Layout

Add offset for header bar.
Alert: Add offset for header bar.
