Describe the general functionality of the component. Include:
- what does it do
- how is it intended to be used
- what properties does it take
- which properties, if any, are default
- which properties, if any, are required
- what styles are passed in
- which styles, if any, are default
- is accessible
Install the component using NPM:
$ npm install s2s-component-name --save- Import module:
import <<ComponentName>> from 's2s-<<component-name>>';- Use it!
<ComponentName
/>- <<Takes up to three properties:>>
- <<cbComponentClick: callback function to handle click event. Required>>
- <<componentStyle: style object applied to the component>>
- <<imgSrc: url for image to use for component-name>>
- <<compStyleName: brief functional description of particular style object>>
- <<compOtherStyleName: brief functional description of particular style object>>
$ npm test<>
<<identify any components, libraries, etc the component will reference. They should also be listed as dependencies in the component's package.json file. If no additional components are required, please indicate.>> <<Example:
- moment.js
- s2s-avatar component>>
* Initial release