mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
16 lines
481 B
TypeScript
16 lines
481 B
TypeScript
import * as React from 'react'
|
|
import { TextAreaInput } from '../../../Input'
|
|
import { Item } from '../../../../types'
|
|
|
|
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>
|
|
)
|
|
}
|