🎥 Make videos programmatically with React
reorder APIs
Jonny Burger71d760091bb4
diff --git a/packages/docs/components/TableOfContents/paths.tsx b/packages/docs/components/TableOfContents/paths.tsxindex 839a9e63e6..649856b90f 100644--- a/packages/docs/components/TableOfContents/paths.tsx+++ b/packages/docs/components/TableOfContents/paths.tsx@@ -10,16 +10,7 @@ export const TableOfContents: React.FC = () => {<strong>getLength()</strong><div>Obtain length of an SVG path</div></TOCItem>- <TOCItem link="/docs/paths/get-parts">- <strong- style={{- textDecoration: "line-through",- }}- >- getParts()- </strong>- <div>Split SVG path into its parts</div>- </TOCItem>+<TOCItem link="/docs/paths/get-tangent-at-length"><strong>getPointAtLength()</strong><div>Get coordinates at a certain point of an SVG path</div>@@ -47,14 +38,6 @@ export const TableOfContents: React.FC = () => {<strong>evolvePath()</strong><div>Animate an SVG path</div></TOCItem>- <TOCItem link="/docs/paths/extend-viewbox">- <strong>extendViewBox()</strong>- <div>Widen an SVG viewBox in all directions</div>- </TOCItem>- <TOCItem link="/docs/paths/get-subpaths">- <strong>getSubpaths()</strong>- <div>Split SVG path into its parts</div>- </TOCItem><TOCItem link="/docs/paths/translate-path"><strong>translatePath()</strong><div>Translates the position of an path against X/Y coordinates</div>@@ -69,6 +52,24 @@ export const TableOfContents: React.FC = () => {Translates an SVG path to <code>(0, 0)</code></div></TOCItem>+ <TOCItem link="/docs/paths/extend-viewbox">+ <strong>extendViewBox()</strong>+ <div>Widen an SVG viewBox in all directions</div>+ </TOCItem>+ <TOCItem link="/docs/paths/get-subpaths">+ <strong>getSubpaths()</strong>+ <div>Split SVG path into its parts</div>+ </TOCItem>+ <TOCItem link="/docs/paths/get-parts">+ <strong+ style={{+ textDecoration: "line-through",+ }}+ >+ getParts()+ </strong>+ <div>Split SVG path into its parts</div>+ </TOCItem></Grid></div>);diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex ad658d8995..488abe971b 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -253,18 +253,18 @@ module.exports = {},items: ["paths/get-length",- "paths/get-parts","paths/get-point-at-length","paths/get-tangent-at-length","paths/reverse-path","paths/normalize-path","paths/interpolate-path","paths/evolve-path",- "paths/extend-viewbox",+ "paths/reset-path","paths/get-subpaths","paths/translate-path","paths/get-bounding-box",- "paths/reset-path",+ "paths/extend-viewbox",+ "paths/get-parts",],},{