import { Notice } from '@wordpress/components'
import React from 'react'
import {__} from "@wordpress/i18n";

export const FeedbackSuccess = () => {
    return (
        <Notice status="success">
            {__('Your feedback was sent!', 'posten-bring-checkout')}
        </Notice>
    )
}

export const FeedbackWarning = () => {
    return (
        <Notice status="warning">
            {__('A problem occured, your feedback was not sent', 'posten-bring-checkout')}
        </Notice>
    )
}

