Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/module/src/ContentHeader/ContentHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PropsWithChildren, FunctionComponent } from 'react';
import type { PropsWithChildren, FunctionComponent, ReactNode } from 'react';
import {
Flex,
FlexItem,
Expand All @@ -17,7 +17,7 @@ import { createUseStyles } from 'react-jss';
/** extends ButtonProps */
export interface PageHeaderLinkProps extends ButtonProps {
/** Title for the link */
label: string;
label: ReactNode;
/** Indicates if the link points to an external page */
isExternal?: boolean;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/module/src/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FunctionComponent } from 'react';
import type { FunctionComponent, ReactNode } from 'react';
import {
Button,
ButtonProps,
Expand All @@ -18,7 +18,7 @@ import { createUseStyles } from 'react-jss';
/** extends ButtonProps */
export interface PageHeaderLinkProps extends ButtonProps {
/** Title for the link */
label: string;
label: ReactNode;
/** Indicates if the link points to an external page */
isExternal?: boolean;
}
Expand Down
Loading