diff --git a/apps/react/package.json b/apps/react/package.json index 7f43403..50f1466 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 0f3a552..ef74093 100644 --- a/apps/react/src/components/FlashCards/TextCardPrompt.tsx +++ b/apps/react/src/components/FlashCards/TextCardPrompt.tsx @@ -14,7 +14,9 @@ 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 0000000..f8e755a --- /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) => ( +