From 3d28ca8471391918019f8bfb2664c06b1f4e5bed Mon Sep 17 00:00:00 2001 From: Sam Bender <2336186+rednebmas@users.noreply.github.com> Date: Mon, 1 Sep 2025 11:25:31 -0700 Subject: [PATCH 1/3] fix markdown --- apps/react/package.json | 1 + .../components/FlashCards/TextCardPrompt.tsx | 2 +- .../src/components/inputs/BaseTextArea.tsx | 14 +++++++ .../src/components/inputs/TextAreaField.tsx | 30 ++++++++++++++ apps/react/src/components/inputs/index.ts | 2 + .../components/notation/CardTypeOptions.tsx | 4 +- apps/react/tailwind.config.js | 2 +- yarn.lock | 39 +++++++++++++++++++ 8 files changed, 90 insertions(+), 4 deletions(-) create mode 100644 apps/react/src/components/inputs/BaseTextArea.tsx create mode 100644 apps/react/src/components/inputs/TextAreaField.tsx diff --git a/apps/react/package.json b/apps/react/package.json index 7f43403b..50f1466f 100644 --- a/apps/react/package.json +++ b/apps/react/package.json @@ -17,6 +17,7 @@ "@headlessui/react": "2.1.3", "@heroicons/react": "^2.1.3", "@tailwindcss/forms": "0.5.8", + "@tailwindcss/typography": "^0.5.16", "MemoryFlashCore": "*", "autoprefixer": "^10.4.16", "clsx": "^2.1.1", diff --git a/apps/react/src/components/FlashCards/TextCardPrompt.tsx b/apps/react/src/components/FlashCards/TextCardPrompt.tsx index 0f3a5528..7c3f960f 100644 --- a/apps/react/src/components/FlashCards/TextCardPrompt.tsx +++ b/apps/react/src/components/FlashCards/TextCardPrompt.tsx @@ -14,7 +14,7 @@ export const TextCardPrompt: React.FC = ({ correctCount = 0, }) => (
- {text} + {text}
diff --git a/apps/react/src/components/inputs/BaseTextArea.tsx b/apps/react/src/components/inputs/BaseTextArea.tsx new file mode 100644 index 00000000..f8e755ac --- /dev/null +++ b/apps/react/src/components/inputs/BaseTextArea.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +export type BaseTextAreaProps = React.TextareaHTMLAttributes; + +export const BaseTextArea = React.forwardRef( + ({ className = '', ...props }, ref) => ( +