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 { 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)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user