Skip to content

Commit 063ac43

Browse files
committed
fix: replace title with node
1 parent 38ae13b commit 063ac43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/navigation/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import NavigationSubItem from './sub-item';
33
import Navigation from './navigation';
44

55
export interface INavigationItem {
6-
title?: string;
6+
title?: string | React.ReactNode;
77
desc?: string;
88
icon?: React.ReactNode;
99
active?: boolean;

0 commit comments

Comments
 (0)