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