{"size": 522, "ext": "js", "max_stars_repo_path": "src/components/cookie-banner-bar.js", "max_stars_repo_name": "lhache/tbp-frontend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/cookie-banner-bar.js", "max_issues_repo_name": "lhache/tbp-frontend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/cookie-banner-bar.js", "max_forks_repo_name": "lhache/tbp-frontend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.8571428571, "max_line_length": 90, "alphanum_fraction": 0.6398467433}
import React from 'react'
import CookieBanner from 'react-cookie-banner'

const CookieBannerBar = ({}) => (
  <CookieBanner
    styles={{
      banner: { position: 'fixed', bottom: 0, left: 0 },
      button: { background: 'white', width: '50px' },
    }}
    message={
      'Diese Webseite verwendet Cookies, um Ihnen ein angenehmeres Surfen zu ermöglichen.'
    }
    buttonMessage={'ok'}
    onAccept={() => {}}
    cookie="user-has-accepted-cookies"
    dismissOnScroll={false}
  />
)

export default CookieBannerBar
