Ulf Gebhardt 2c50d66edc
feat(source): tip tap version 2 (#231)
* tip tap version 2

* youtube

* menu-bar

* refactorng layout

* fixed flex layout

* fixed flex layout

* a lot of ui fixes

* optimizing flex layout & styling inputs

* markdown styling

* fix linting

* updated snapshots

* layout optimization

* flex layout optimizations, text editor fine tuning and markdown rendering

* updated snapshots

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-06-10 08:46:33 +00:00

30 lines
520 B
TypeScript

import { TextInput } from '#components/Input'
import type { Item } from '#types/Item'
/**
* @category Map
*/
export const PopupTextInput = ({
dataField,
placeholder,
style,
item,
}: {
dataField: string
placeholder: string
style?: string
item?: Item
}) => {
return (
<TextInput
defaultValue={item?.name ? item.name : ''}
dataField={dataField}
placeholder={placeholder}
inputStyle={style}
type='text'
containerStyle={'tw:mt-4 tw:mb-2'}
></TextInput>
)
}