Switch branches/tags
Nothing to show
Find file History
Permalink
..
Failed to load latest commit information.
README.md πŸ“š Add image to README May 11, 2018
ResizableTextarea.js ✨ Add ResizableTextarea May 11, 2018

README.md

πŸ“œ ResizableTextarea component

Renderless component that wraps any textarea to resize it based on its content.

Demo screenshot

Demo

Installation

Copy/paste the code in a new ResizableTextarea.js file.

Add it to any component that needs it.

import ResizableTextarea from './path/to/ResizableTextarea.js'

export default {
    components: { ResizableTextarea },
}

Usage

<resizable-textarea>
    <textarea></textarea>
</resizable-textarea>