mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
25 lines
456 B
TypeScript
25 lines
456 B
TypeScript
import { TextAreaInput } from '#components/Input'
|
|
|
|
import type { Item } from '#src/types/Item'
|
|
|
|
export const PopupTextAreaInput = ({
|
|
dataField,
|
|
placeholder,
|
|
style,
|
|
item,
|
|
}: {
|
|
dataField: string
|
|
placeholder: string
|
|
style?: string
|
|
item?: Item
|
|
}) => {
|
|
return (
|
|
<TextAreaInput
|
|
defaultValue={item?.text ? item.text : ''}
|
|
dataField={dataField}
|
|
placeholder={placeholder}
|
|
inputStyle={style}
|
|
></TextAreaInput>
|
|
)
|
|
}
|