Skip to content

Commit

Permalink
docs(ffe-form-react): Add content to TextArea example
Browse files Browse the repository at this point in the history
A TextArea usually spans more than one row, so have the example reflect
that. Add some default content for good measure. This makes it easy to
spot the issue described in #38.
  • Loading branch information
wkillerud committed Mar 1, 2018
1 parent 8f9c82d commit 0c2c7cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/ffe-form-react/src/TextArea.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Et tekstfelt for lengre tekster.

```js
<TextArea />
<TextArea
defaultValue="Dette er et tekstfelt for lengre tekster."
rows="8"
/>
```

0 comments on commit 0c2c7cf

Please sign in to comment.