Skip to content

Commit

Permalink
Update TimelinePoint render prop type to return React.ReactNode
Browse files Browse the repository at this point in the history
  • Loading branch information
adel-gu committed Jan 15, 2025
1 parent de75a47 commit 2c54812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Timeline/TimelinePoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface FlowbiteTimelinePointTheme {
export interface TimelnePointProps extends ComponentProps<"div"> {
icon?: FC<ComponentProps<"svg">>;
theme?: DeepPartial<FlowbiteTimelinePointTheme>;
render?: () => React.ReactElement;
render?: () => React.ReactNode;
}

export const TimelinePoint: FC<TimelnePointProps> = ({
Expand Down

0 comments on commit 2c54812

Please sign in to comment.