summaryrefslogtreecommitdiffstats
path: root/docusaurus/src/components/SubmitButton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'docusaurus/src/components/SubmitButton.tsx')
-rw-r--r--docusaurus/src/components/SubmitButton.tsx22
1 files changed, 22 insertions, 0 deletions
diff --git a/docusaurus/src/components/SubmitButton.tsx b/docusaurus/src/components/SubmitButton.tsx
new file mode 100644
index 0000000..e9b1c72
--- /dev/null
+++ b/docusaurus/src/components/SubmitButton.tsx
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: AGPL-3.0-or-later */
+
+import Button from "@mui/material/Button";
+import React from "react";
+
+export default ({
+ text = "",
+}: Readonly<{ text: string }>): React.JSX.Element => (
+ <p>
+ <Button
+ type="submit"
+ size="large"
+ variant="contained"
+ sx={{ textTransform: "capitalize" }}
+ >
+ {text}
+ </Button>
+ </p>
+);
+
+// Typography - MUI System
+// https://mui.com/system/typography/