Move form components into the form directory, and add a flash message.
This commit is contained in:
parent
580d3654ef
commit
ae08c669ec
7
app/src/frontend/components/flash-message.tsx
Normal file
7
app/src/frontend/components/flash-message.tsx
Normal 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>
|
||||
)
|
||||
};
|
Loading…
Reference in New Issue
Block a user