Skip to content

Commit

Permalink
docs: Adding screenshots for TextInput (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsroka authored and satya164 committed Feb 6, 2018
1 parent 7b08554 commit 1443884
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Binary file added docs/assets/screenshots/textinput.focused.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/screenshots/textinput.unfocused.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/components/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ type State = {
/**
* TextInputs allow users to input text.
*
* <div class="screenshots">
* <div>
* <img src="screenshots/textinput.unfocused.png" />
* <span>Unfocused</span>
* </div>
* <div>
* <img src="screenshots/textinput.focused.png" />
* <span>Focused</span>
* </div>
* </div>
*
* ## Usage
* ```js
* class MyComponent extends React.Component {
Expand Down

0 comments on commit 1443884

Please sign in to comment.