Skip to content

Commit

Permalink
removed prop-types from TimelineEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
recondesigns committed Mar 12, 2024
1 parent 3826f0a commit 475da93
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/Timeline/TimelineEvent/TimelineEvent.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { array, node, oneOfType, string } from 'prop-types';
import styles from './TimelineEvent.module.css';

TimelineEvent.propTypes = {
content: oneOfType([string, array, node]).isRequired,
title: string.isRequired,
};

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

0 comments on commit 475da93

Please sign in to comment.