diff --git a/lib/src/Components/Input/InputLabel.tsx b/lib/src/Components/Input/InputLabel.tsx new file mode 100644 index 00000000..a8283b6b --- /dev/null +++ b/lib/src/Components/Input/InputLabel.tsx @@ -0,0 +1,9 @@ +export const InputLabel = ({ label }: { label: string }) => { + return ( + + ) +} diff --git a/lib/src/Components/Input/RichTextEditor.tsx b/lib/src/Components/Input/RichTextEditor.tsx index 268cbe04..539ad28b 100644 --- a/lib/src/Components/Input/RichTextEditor.tsx +++ b/lib/src/Components/Input/RichTextEditor.tsx @@ -10,6 +10,7 @@ import { StarterKit } from '@tiptap/starter-kit' import { useEffect } from 'react' import { Markdown } from 'tiptap-markdown' +import { InputLabel } from './InputLabel' import { TextEditorMenu } from './TextEditorMenu' interface RichTextEditorProps { @@ -27,7 +28,6 @@ interface RichTextEditorProps { */ export function RichTextEditor({ labelTitle, - labelStyle, containerStyle, defaultValue, placeholder, @@ -88,13 +88,7 @@ export function RichTextEditor({