Skip to content

Commit

Permalink
changed content type to React.ReactNode[]
Browse files Browse the repository at this point in the history
  • Loading branch information
recondesigns committed Mar 13, 2024
1 parent b01d95a commit 9a3ead6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Timeline/TimelineEvent/TimelineEvent.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styles from './TimelineEvent.module.css';

export type TimelineEventPropsType = {
content: string | string[] | React.ReactNode | React.ReactNode[];
content: React.ReactNode[];
title: string;
};

Expand Down

0 comments on commit 9a3ead6

Please sign in to comment.