From e469708b57ad9296392b97b4b5596d10f079c4d1 Mon Sep 17 00:00:00 2001 From: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 15 Jun 2022 12:26:38 +0200 Subject: [PATCH] docs: replace old typedoc links --- docs/src/.vuepress/theme/index.ts | 2 +- docs/src/guide/components/background.md | 22 ++++++++++----------- docs/src/guide/components/control-button.md | 4 ++-- docs/src/guide/components/controls.md | 14 ++++++------- docs/src/guide/components/minimap.md | 22 +++++++++++++-------- 5 files changed, 35 insertions(+), 29 deletions(-) diff --git a/docs/src/.vuepress/theme/index.ts b/docs/src/.vuepress/theme/index.ts index 325bad9b..2e3f5125 100644 --- a/docs/src/.vuepress/theme/index.ts +++ b/docs/src/.vuepress/theme/index.ts @@ -70,7 +70,7 @@ export default { ] }, { - text: 'Additional Components', + text: 'Components', children: [ '/guide/components/background', '/guide/components/minimap', diff --git a/docs/src/guide/components/background.md b/docs/src/guide/components/background.md index 0c4d247b..34dd5168 100644 --- a/docs/src/guide/components/background.md +++ b/docs/src/guide/components/background.md @@ -16,14 +16,14 @@ To use the background simply pass the `Background` component as a child to the ` ## Props -| Name | Definition | Type | Optional | Default | -|--------------|-------------------|-----------------------------------------------------------------------------|----------|---------| -| variant | Pattern variant | [BackgroundVariant](https://types.vueflow.dev/enums/BackgroundVariant.html) | true | dots | -| gap | Pattern gap | number | true | 10 | -| size | Pattern size | number | true | 0.4 | -| patternColor | Pattern color | string | true | #81818a | -| bgColor | Is node dragging | boolean | true | #fff | -| height | Background height | number | true | 100 | -| width | Background width | number | true | 100 | -| x | X-offset | number | true | 0 | -| y | Y-offset | number | true | 0 | +| Name | Definition | Type | Optional | Default | +|--------------|-------------------|--------------------------------------------------------------|----------|---------| +| variant | Pattern variant | [BackgroundVariant](/typedocs/enums/BackgroundVariant.html/) | true | dots | +| gap | Pattern gap | number | true | 10 | +| size | Pattern size | number | true | 0.4 | +| patternColor | Pattern color | string | true | #81818a | +| bgColor | Is node dragging | boolean | true | #fff | +| height | Background height | number | true | 100 | +| width | Background width | number | true | 100 | +| x | X-offset | number | true | 0 | +| y | Y-offset | number | true | 0 | diff --git a/docs/src/guide/components/control-button.md b/docs/src/guide/components/control-button.md index 0f779498..78fd2bb3 100644 --- a/docs/src/guide/components/control-button.md +++ b/docs/src/guide/components/control-button.md @@ -20,7 +20,7 @@ To use the component pass the `ControlButton` component as a child to the [`Cont ## Slots -| Name | Definition | -|---------|------------------------------------------------------| +| Name | Definition | +|---------|--------------------------------------------------------| | default | inner slot of btn (is wrapped by a `