1
0
Fork 0

Merge pull request #5994 from BenJamesBen/asprops-docs-removal

chore(markdown): Remove obsolete Part.asProps() doc
This commit is contained in:
Joost De Cock 2024-02-10 14:22:03 +01:00 committed by GitHub
commit bc39e00558
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,27 +0,0 @@
---
title: Part.asProps()
---
This `Part.asProps()` method can be used to return the part as an object that is suitable for inclusion in renderprops. This method is used internally and is only required when building your own render system.
## Signature
```js
Part.prototype.asProps = function ()
return {
paths: this.paths,
points: this.points,
snippets: this.snippets,
attributes: this.attributes,
height: this.height,
width: this.width,
bottomRight: this.bottomRight,
topLeft: this.topLeft,
}
```