Ulf Gebhardt 93eabedd16
docs: group by category (#124)
Groups the docs by categories and assigns all exported Components a
category (except types).
2025-02-18 11:11:06 +01:00

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>
)
}