From 45131e9cb9be2297f03aac1425c6ba45252c9c62 Mon Sep 17 00:00:00 2001 From: Artemy Date: Mon, 17 Oct 2022 14:27:30 +0300 Subject: [PATCH] feat: note option and send button --- src/components/checkbox.jsx | 18 ++++++++++++++++++ src/pages/create.jsx | 34 +++++++++++++++++++++------------- 2 files changed, 39 insertions(+), 13 deletions(-) create mode 100644 src/components/checkbox.jsx diff --git a/src/components/checkbox.jsx b/src/components/checkbox.jsx new file mode 100644 index 0000000..9953360 --- /dev/null +++ b/src/components/checkbox.jsx @@ -0,0 +1,18 @@ +function CheckBox(props) { + return ( +
+ + +
+ ); +} + +export { CheckBox }; diff --git a/src/pages/create.jsx b/src/pages/create.jsx index 41e2c24..8042d0f 100644 --- a/src/pages/create.jsx +++ b/src/pages/create.jsx @@ -1,10 +1,11 @@ import { ButtonWithAction, IconWithButton } from "../components/button"; import { ChevronDoubleRightIcon } from "@heroicons/react/24/outline"; +import { CheckBox } from "../components/checkbox"; function CreateNote() { return (
-

+

Написать записку

-
- - - } - > - Отправить - - -
+
+ +
+ + + } + > + Отправить + + +
);