Skip to content

Commit

Permalink
[Sparkle] Allow any reactnode description for page header (#9071)
Browse files Browse the repository at this point in the history
Description
---
Before, only string was allowed
Pre-requisite for dust-tt/tasks#1736

Risk
---
na

Deploy
---
publish sparkle
  • Loading branch information
philipperolet authored Dec 2, 2024
1 parent efa71a3 commit a829279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparkle/src/components/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function Page({ children, variant = "normal" }: PageProps) {

interface PageHeaderProps {
title: React.ReactNode;
description?: string;
description?: React.ReactNode;
icon?: ComponentType<{ className?: string }>;
}

Expand Down

0 comments on commit a829279

Please sign in to comment.