Merge branch 'main' of github.com:utopia-os/utopia-ui

This commit is contained in:
Anton Tranelis 2024-11-22 18:38:56 +01:00
commit caac412693

View File

@ -8,6 +8,8 @@ import { TextAreaInput } from '#components/Input'
import { FormState } from '#src/types'
import { getValue } from '#utils/GetValue'
import { MarkdownHint } from './MarkdownHint'
export const ProfileTextForm = ({
state,
setState,
@ -33,12 +35,15 @@ export const ProfileTextForm = ({
return (
<div className='tw-h-full tw-flex tw-flex-col tw-mt-4'>
<div className='tw-flex tw-justify-between tw-items-center'>
<label
htmlFor='nextAppointment'
className='tw-block tw-text-sm tw-font-medium tw-text-gray-500 tw-mb-1'
>
{heading || 'Text'}:
</label>
<MarkdownHint />
</div>
<TextAreaInput
placeholder={'...'}
defaultValue={getValue(state, field)}