# extendify/1.6.1/src/Chat/components/dialog/Error.js

Extendify, version 1.6.1. 18 lines.

- Page: https://pluginprobe.com/plugins/extendify/1.6.1/code/src/Chat/components/dialog/Error.js
- Raw: https://pluginprobe.com/plugins/extendify/1.6.1/raw/src/Chat/components/dialog/Error.js
- Modified: 2023-05-05T16:36:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/1.6.1/code/src/Chat/components/dialog/Error.js#L10-L20`.

```javascript
import { __ } from '@wordpress/i18n'

export const Error = ({ text, reset }) => {
    return (
        <div className="p-5 rounded-lg bg-red-100 border border-solid border-red-500">
            <p className="m-0 mb-4 text-gray-800 text-sm">{text}</p>
            <p className="m-0">
                <button
                    type="button"
                    className="bg-transparent border-none p-0 underline cursor-pointer"
                    onClick={reset}>
                    {__('Please try again.', 'extendify')}
                </button>
            </p>
        </div>
    )
}

```
