mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-07-05 16:30:37 +02:00
14 lines
397 B
JavaScript
14 lines
397 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
export default function CookieSettingsButton() {
|
|
return (
|
|
<button
|
|
type="button"
|
|
className="cookie-settings-button"
|
|
onClick={() => window.CookieConsent.renew && window.CookieConsent.renew()}
|
|
>
|
|
<FormattedMessage id="cookie-settings" defaultMessage="Cookie settings" />
|
|
</button>
|
|
);
|
|
}
|