Create JS disabled alert component
This commit is contained in:
parent
b6c6967db0
commit
7e8fb126c4
18
components/NoJSAlert.tsx
Normal file
18
components/NoJSAlert.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import {
|
||||
Alert,
|
||||
AlertDescription,
|
||||
AlertIcon,
|
||||
AlertTitle,
|
||||
} from "@chakra-ui/react";
|
||||
|
||||
export default function () {
|
||||
return (
|
||||
<Alert status="error">
|
||||
<AlertIcon />
|
||||
<AlertTitle>JavaScript Disabled!</AlertTitle>
|
||||
<AlertDescription>
|
||||
Some features of this page may not work.
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user