-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README Creations #46
README Creations #46
Conversation
Coverage remained the same at 99.24% when pulling 74645c9e46958a16e52d7e314c1930fcdc19a445 on fsheets/readme into fd4b1bd on master. |
Coverage remained the same at 99.24% when pulling 918e52904bdedfde3bec03035073276befa798a9 on fsheets/readme into fd4b1bd on master. |
Coverage remained the same at 99.24% when pulling 6aff2a458a7c2a976ed33c9f42715ee4552dad06 on fsheets/readme into fd4b1bd on master. |
@@ -0,0 +1,35 @@ | |||
# asInput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arizzitano I wouldn't mind discussing this component a bit more -- especially the disabled
and required
props :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fysheets to address disabled
and required
-- although they aren't used directly by asInput
itself (you probably saw the eslint ignore rule at the top of the file about this), components that extend asInput
do use them (e.g. InputText) and they are passed along within the {...this.props}
spread on the WrappedComponent
. My primary reason for adding them here was so that they'd be available within inputProps
for any input component to use. Does that make sense?
Coverage remained the same at 99.24% when pulling 2023f4bebe4e7d67cfaffd2638ac16a80192e6a4 on fsheets/readme into 4ebc1ab on master. |
Coverage remained the same at 99.24% when pulling 3e41dd16dd07d978fb1923400a9ff12860e5557f on fsheets/readme into a4e492b on master. |
Coverage remained the same at 99.24% when pulling 7b67105310728a4bccd8118d256e3e5d76ff398d on fsheets/readme into a4e492b on master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple nit typos here, but this looks great. Thanks for going above and beyond to get this finished -- it's a huge help for us and other devs (plus now you know how everything works!)
src/asInput/README.md
Outdated
`className` specifies Bootstrap class names to apply to the input component. The default is an empty array. | ||
|
||
### `description` (string or element; optional) | ||
`description` can be used to provide a longer description of the component. It will show up below the input compentent specified. The default is an empty string. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: compentent
src/asInput/README.md
Outdated
`onBlur` is a function that would specify what the input component should do when the `onBlur` event is triggered. For example, it could be used to update which element is currently in focus within the state. The default is an empty function. | ||
|
||
### `onChange` (function; optional) | ||
`onChange` is a function that would specify what the input componet should do when the `onChange` event is triggered. For example, it could be storing the updated input data within the state. The default is an empty function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: componet
Coverage remained the same at 99.24% when pulling 8f3c3f7905ad6bc43e139bbced2b5b2b1bc92030 on fsheets/readme into a4e492b on master. |
This will be ready to merge once #42 has been merged as well. |
8f3c3f7
to
831848b
Compare
b718722
to
5dd244c
Compare
Create base README files for each of the Paragon components