mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 19:43:20 +08:00
Update index.d.ts (#25313)
Added `async` and `defer` as optional properties of the `<Helmet>` component.
This commit is contained in:
committed by
Wesley Wigham
parent
262cb8eae6
commit
eae2ca1b41
2
types/react-helmet/index.d.ts
vendored
2
types/react-helmet/index.d.ts
vendored
@@ -7,9 +7,11 @@
|
||||
import * as React from "react";
|
||||
|
||||
export interface HelmetProps {
|
||||
async?: boolean;
|
||||
base?: any;
|
||||
bodyAttributes?: Object;
|
||||
defaultTitle?: string;
|
||||
defer?: boolean;
|
||||
encodeSpecialCharacters?: boolean;
|
||||
htmlAttributes?: any;
|
||||
onChangeClientState?: (newState: any) => void;
|
||||
|
||||
Reference in New Issue
Block a user