mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
cleanup
This commit is contained in:
parent
21471e7698
commit
ca86bad272
@ -1,5 +1,5 @@
|
|||||||
import { useCallback, useEffect, useState } from "react"
|
import { useCallback, useEffect, useState } from "react"
|
||||||
import { TextAreaInput, TextInput } from "../../Input"
|
import { TextAreaInput } from "../../Input"
|
||||||
import { PopupStartEndInput, TextView } from "../../Map"
|
import { PopupStartEndInput, TextView } from "../../Map"
|
||||||
import { ActionButton } from "../Subcomponents/ActionsButton"
|
import { ActionButton } from "../Subcomponents/ActionsButton"
|
||||||
import { LinkedItemsHeaderView } from "../Subcomponents/LinkedItemsHeaderView"
|
import { LinkedItemsHeaderView } from "../Subcomponents/LinkedItemsHeaderView"
|
||||||
@ -48,10 +48,14 @@ export const TabsForm = ({ item, state, setState, updatePermission, linkItem, un
|
|||||||
}))}></PopupStartEndInput>
|
}))}></PopupStartEndInput>
|
||||||
}
|
}
|
||||||
|
|
||||||
<TextAreaInput placeholder="about ..." defaultValue={item?.text ? item.text : ""} updateFormValue={(v) => setState(prevState => ({
|
<TextAreaInput placeholder="about ..."
|
||||||
|
defaultValue={item?.text ? item.text : ""}
|
||||||
|
updateFormValue={(v) => setState(prevState => ({
|
||||||
...prevState,
|
...prevState,
|
||||||
text: v
|
text: v
|
||||||
}))} containerStyle='tw-grow' inputStyle={`tw-h-full ${!item.layer.itemType.show_start_end_input && "tw-border-t-0 tw-rounded-tl-none"}`} />
|
}))}
|
||||||
|
containerStyle='tw-grow'
|
||||||
|
inputStyle={`tw-h-full ${!item.layer.itemType.show_start_end_input && "tw-border-t-0 tw-rounded-tl-none"}`} />
|
||||||
<div>
|
<div>
|
||||||
<TextAreaInput
|
<TextAreaInput
|
||||||
placeholder="contact info ..."
|
placeholder="contact info ..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user