mirror of
https://github.com/getredash/redash.git
synced 2026-03-20 22:00:12 -04:00
12 lines
273 B
JavaScript
12 lines
273 B
JavaScript
import React from "react";
|
|
import PropTypes from "prop-types";
|
|
|
|
export function ErrorMessageDetails(props) {
|
|
return <h4>{props.message}</h4>;
|
|
}
|
|
|
|
ErrorMessageDetails.propTypes = {
|
|
error: PropTypes.instanceOf(Error).isRequired,
|
|
message: PropTypes.string.isRequired,
|
|
};
|