From 836d0d5b980f7f7abf33978c9202d00142a4aa89 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 1 Jun 2020 13:59:47 +0300 Subject: [PATCH] Update docs --- website/docs/docusaurus-core.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/docs/docusaurus-core.md b/website/docs/docusaurus-core.md index 92e54798ca2d2..40fa01f1c535b 100644 --- a/website/docs/docusaurus-core.md +++ b/website/docs/docusaurus-core.md @@ -153,6 +153,13 @@ const Test = () => { React hook to automatically prepend `baseUrl` to a string automatically. This is particularly useful if you don't want to hardcode your config's `baseUrl`. We highly recommend you to use this. +```ts +type BaseUrlOptions = { + forcePrependBaseUrl: boolean; + absolute: boolean; +}; +``` + Example usage: ```jsx {3,11}