Update props.mdx

This commit is contained in:
Danilo Woznica
2019-03-07 14:20:03 +00:00
committed by GitHub
parent 1917fb1fa2
commit f3c539b774

View File

@@ -24,7 +24,7 @@ Defaults to `Loading interface...`. It's used to describe what element it is. Us
## **`baseUrl? string`**
Required if you're using `<base url="/" />` in your `<head/>`. Defaults to an empty string. This prop is commom used as: `<ContentLoader baseUrl={window.location.pathname} />` which will fill the svg attribute with the relative path. Related [#93](https://github.com/danilowoz/react-content-loader/issues/93).
Required if you're using `<base url="/" />` in your `<head/>`. Defaults to an empty string. This prop is common used as: `<ContentLoader baseUrl={window.location.pathname} />` which will fill the SVG attribute with the relative path. Related [#93](https://github.com/danilowoz/react-content-loader/issues/93).
<Playground>
<Facebook baseUrl="/mypage" />