Skip to content

Instantly share code, notes, and snippets.

@brandoncc
Created June 4, 2019 23:27
Show Gist options
  • Save brandoncc/c3994283f2345dccd67f7e1e527dd657 to your computer and use it in GitHub Desktop.
Save brandoncc/c3994283f2345dccd67f7e1e527dd657 to your computer and use it in GitHub Desktop.
import React from "react";
import Portal from "./Portal";
export default function FlashMessage() {
return (
<Portal>
<div class="alert alert-primary" role="alert">
This is a special announcement, be sure and read it!
</div>
</Portal>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment