Move form components into the form directory, and add a flash message.

This commit is contained in:
Dave Smith-Hayes 2024-03-18 22:07:30 -04:00
parent 580d3654ef
commit ae08c669ec
4 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
const FlashMessage = (props: { message: string, severity?: string }) => {
return (
<div class="flash-message {props.severity ?? null}">
<span>{props.message}</span>
</div>
)
};