Skip to content

Commit

Permalink
Add deprecated Props
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Jul 7, 2021
1 parent 8635368 commit 2a9989c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/next/client/script.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export interface ScriptProps extends ScriptHTMLAttributes<HTMLScriptElement> {
children?: React.ReactNode
}

/**
* @deprecated Use `ScriptProps` instead.
*/
export type Props = ScriptProps

const ignoreProps = [
'onLoad',
'dangerouslySetInnerHTML',
Expand Down

0 comments on commit 2a9989c

Please sign in to comment.