react-feather#XOctagon JavaScript Examples

The following examples show how to use react-feather#XOctagon. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: 404.js    From dashboard with MIT License 6 votes vote down vote up
function Page404() {
  const history = useHistory();

  return (
    <div className="flex flex-col items-center">
      <XOctagon
        className="mt-8 w-12 h-12 text-primary-500"
        aria-hidden="true"
      />
      <h1 className="dark:text-gray-200 text-gray-700 text-6xl font-semibold">
        404
      </h1>
      <p className="dark:text-gray-300 text-gray-700">
        Page not found.{" "}
        <button
          type="button"
          className="dark:text-primary-400 text-primary-500 hover:underline"
          onClick={() => history.goBack()}
        >
          Go back
        </button>
        .
      </p>
    </div>
  );
}