mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2025-04-01 19:03:19 +02:00
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
import React from 'react'
|
|
import { StyleDiv } from './styled'
|
|
|
|
type FormErrorDialogProps = {
|
|
message?: string;
|
|
}
|
|
|
|
const FormErrorDialog = (props: FormErrorDialogProps) => {
|
|
return props.message ? <StyleDiv>{props.message}</StyleDiv > : null;
|
|
}
|
|
export default FormErrorDialog;
|
|
|