@types/react-document-title
Version:
TypeScript definitions for react-document-title
32 lines (23 loc) • 1.03 kB
Markdown
# Installation
> `npm install --save @types/react-document-title`
# Summary
This package contains type definitions for react-document-title (https://github.com/gaearon/react-document-title).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-document-title.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-document-title/index.d.ts)
````ts
import * as React from "react";
declare namespace DocumentTitle {
interface DocumentTitleProps {
title: string;
children?: React.ReactElement | number | string | null | undefined;
}
}
declare class DocumentTitle extends React.Component<DocumentTitle.DocumentTitleProps> {}
export = DocumentTitle;
````
### Additional Details
* Last updated: Mon, 07 Oct 2024 22:38:10 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
# Credits
These definitions were written by [Cleve Littlefield](https://github.com/cleverguy25).