Skip to content

Commit

Permalink
fix: add helmetData to HelmetProps type
Browse files Browse the repository at this point in the history
👋 

Since 1.2.0 it is possible to pass an instance of `HelmetData` into `<Helmet>`. It was overlooked to add the `helmetData` prop to the typings.
This PR adds the missing property.
  • Loading branch information
andipaetzold authored and staylor committed Apr 9, 2022
1 parent b54917c commit e7a691d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ declare module 'react-helmet-async' {
}

export interface HelmetProps {
helmetData?: HelmetData;
async?: boolean;
base?: any;
bodyAttributes?: BodyProps;
Expand Down

0 comments on commit e7a691d

Please sign in to comment.