mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Groups the docs by categories and assigns all exported Components a category (except types).
28 lines
477 B
TypeScript
28 lines
477 B
TypeScript
import { TextAreaInput } from '#components/Input'
|
|
|
|
import type { Item } from '#types/Item'
|
|
|
|
/**
|
|
* @category Map
|
|
*/
|
|
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>
|
|
)
|
|
}
|