docs: ✏️ re-create title docs

This commit is contained in:
streamich 2018-10-27 13:32:43 +02:00
parent 27319bd0bb
commit 65b889e57f

16
docs/useTitle.md Normal file
View File

@ -0,0 +1,16 @@
# `useTitle`
React side-effect hook that sets title of the page.
## Usage
```jsx
import {useTitle} from 'react-use';
const Demo = () => {
useTitle('Hello world!');
return null;
};
```