-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(Textarea): rename TextArea, add doc block (#409)
- Loading branch information
1 parent
fa204d9
commit 646d3af
Showing
4 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react' | ||
import { META } from '../../lib' | ||
|
||
/** | ||
* A simple <textarea> wrapper for use in Form.TextArea. | ||
* We may add more features to the TextArea in the future. | ||
* @see Form | ||
*/ | ||
function TextArea(props) { | ||
return <textarea {...props} /> | ||
} | ||
|
||
TextArea._meta = { | ||
name: 'TextArea', | ||
type: META.TYPES.ADDON, | ||
} | ||
|
||
export default TextArea |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { default as Confirm } from './Confirm/Confirm' | ||
export { default as Radio } from './Radio/Radio' | ||
export { default as Select } from './Select/Select' | ||
export { default as Textarea } from './Textarea/Textarea' | ||
export { default as TextArea } from './TextArea/TextArea' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters