File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import type { PropsWithChildren , FunctionComponent } from 'react' ;
1+ import type { PropsWithChildren , FunctionComponent , ReactNode } from 'react' ;
22import {
33 Flex ,
44 FlexItem ,
@@ -17,7 +17,7 @@ import { createUseStyles } from 'react-jss';
1717/** extends ButtonProps */
1818export interface PageHeaderLinkProps extends ButtonProps {
1919 /** Title for the link */
20- label : string ;
20+ label : ReactNode ;
2121 /** Indicates if the link points to an external page */
2222 isExternal ?: boolean ;
2323}
Original file line number Diff line number Diff line change 1- import type { FunctionComponent } from 'react' ;
1+ import type { FunctionComponent , ReactNode } from 'react' ;
22import {
33 Button ,
44 ButtonProps ,
@@ -18,7 +18,7 @@ import { createUseStyles } from 'react-jss';
1818/** extends ButtonProps */
1919export interface PageHeaderLinkProps extends ButtonProps {
2020 /** Title for the link */
21- label : string ;
21+ label : ReactNode ;
2222 /** Indicates if the link points to an external page */
2323 isExternal ?: boolean ;
2424}
You can’t perform that action at this time.
0 commit comments