mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Merge branch 'main' of github.com:utopia-os/utopia-ui
This commit is contained in:
commit
caac412693
@ -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)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user