chore: 🤖 build out textarea component
This commit is contained in:
10 files changed
+134
-3
No files matched your search
@@ -2,7 +2,7 @@ import Component from '@ember/component';
|
||||
import layout from '../../../templates/components/rose/form/input';
|
||||
|
||||
/**
|
||||
* A simple HTML `<button>` element.
|
||||
* A simple HTML `<input>` element.
|
||||
*
|
||||
* @example
|
||||
* <Rose::Form::Input
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import Component from '@ember/component';
|
||||
import layout from '../../../templates/components/rose/form/textarea';
|
||||
|
||||
/**
|
||||
* A `<textarea>` element essentially identical to `Rose::Form::Input` except
|
||||
* for the field element.
|
||||
*
|
||||
* @example
|
||||
* <Rose::Form::Textarea
|
||||
* @value="Text"
|
||||
* @label="Label"
|
||||
* @helperText="Helper text"
|
||||
* @error={{true}}
|
||||
* disabled={{true}}
|
||||
* readonly={{true}}
|
||||
* />
|
||||
*/
|
||||
export default Component.extend({
|
||||
layout,
|
||||
});
|
||||
Reference in new issue
Block a user