Skip to content

Commit

Permalink
📝 Fix Rectangle options documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GMartigny committed Jul 17, 2024
1 parent 90be98d commit ac3721e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Documentation

[![NPM Version](https://badgen.net/npm/v/pencil.js?icon=npm)](https://www.npmjs.com/package/pencil.js)

Welcome to the [Pencil.js documentation page](https://docs.pencil-js.vercel.app/).


Expand Down
2 changes: 1 addition & 1 deletion src/modules/rectangle/rectangle.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class Rectangle extends Component {
* @param {PositionDefinition} positionDefinition - Position in space
* @param {Number} [width=0] - Horizontal size
* @param {Number} [height=0] - Vertical size
* @param {ComponentOptions} [options] - Drawing options
* @param {RectangleOptions} [options] - Drawing options
*/
constructor (positionDefinition, width = 0, height = 0, options) {
super(positionDefinition, options);
Expand Down

0 comments on commit ac3721e

Please sign in to comment.