Andarist / Andarist/react-textarea-autosize
Support for elements besides textarea
Aperta
- Lingua principale
- TypeScript
- Stelle
- 2.4k
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
This might be a little out there, but I'm trying to build a component that behaves exactly like an autosizing textarea, but *is not* a ``. I need to create a `<div>` with `contenteditable` set so I can use child elements in my editable area.
It'd be awesome if `TextareaAutosize` could support an optional `tag` property that allows the tag to be set, and defaults to `textarea`.
Thanks!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.