Graf009 / react-document-title

Provides a declarative way to specify document.title in a single-page app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-document-title

Provides a declarative way to specify document.title in a single-page app.

Example

class Home extends Component {
  render() {
    return (
      <DocumentTitle title="Home">
        <h1>Home, sweet home.</h1>
      </DocumentTitle>
    );
  }
}

About

Provides a declarative way to specify document.title in a single-page app.


Languages

Language:JavaScript 100.0%