npm install --save @types/react-document-title
This package contains type definitions for react-document-title (https://github.com/gaearon/react-document-title).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-document-title.
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;
- Last updated: Mon, 07 Oct 2024 22:38:10 GMT
- Dependencies: @types/react
These definitions were written by Cleve Littlefield.