mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
* style(prettier): Use prettier for code formatting This saves us style issues. Also adds husky and lint-staged for pre-commit testing Refs https://github.com/documentationjs/documentation/issues/709
22 lines
364 B
JavaScript
22 lines
364 B
JavaScript
/**
|
|
* This is my component. This is from issue #458
|
|
*/
|
|
class Foo extends React.Component {}
|
|
|
|
/**
|
|
* Does nothing. This is from issue #556
|
|
*/
|
|
export default class Bar {
|
|
/**
|
|
* Creates a new instance
|
|
* @param {string} str
|
|
*/
|
|
constructor(str) {
|
|
/**
|
|
* A useless property
|
|
* @type {string}
|
|
*/
|
|
this.bar = '';
|
|
}
|
|
}
|