-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tip tap integration with nextui progress
- Loading branch information
1 parent
df0d5af
commit 2b4df09
Showing
8 changed files
with
229 additions
and
11 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
apps/sovoli.com/src/app/(dashboard)/new/components/NoteForm.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { Form } from "@sovoli/ui/components/form"; | ||
import { Input } from "@sovoli/ui/components/input"; | ||
|
||
import { Tiptap } from "~/components/TipTap/Tiptap"; | ||
|
||
export const NoteForm = () => { | ||
return ( | ||
<Form className="w-full"> | ||
<Input | ||
placeholder="Title" | ||
name="title" | ||
fullWidth | ||
size="lg" | ||
variant="bordered" | ||
className="text-3xl" | ||
/> | ||
|
||
<Input | ||
name="description" | ||
placeholder="Description" | ||
fullWidth | ||
variant="bordered" | ||
/> | ||
<Tiptap /> | ||
</Form> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { Tiptap } from "~/components/TipTap/Tiptap"; | ||
import { NoteForm } from "./components/NoteForm"; | ||
|
||
export default function NewPage() { | ||
return ( | ||
<div className="mx-auto max-w-7xl p-4"> | ||
<Tiptap /> | ||
<NoteForm /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "@nextui-org/form"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "@nextui-org/input"; |
Oops, something went wrong.