Skip to content

Commit

Permalink
Updated 'React.Component' to 'FunctionComponent'
Browse files Browse the repository at this point in the history
  • Loading branch information
danetsao committed Nov 6, 2023
1 parent a7646d7 commit f7c491e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typings/stripes/core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const IfPermission: FunctionComponent<{
children: ReactNode | ((props: { hasPermission: boolean }) => ReactNode);
}>;

export const TitleManager: React.Component<{
export const TitleManager: FunctionComponent<{
children?: ReactNode;
prefix?: string;
page?: string;
Expand Down

0 comments on commit f7c491e

Please sign in to comment.