@campxdev/react-blueprint 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "main": "./export.ts",
5
5
  "dependencies": {
6
6
  "@emotion/react": "^11.13.3",
@@ -26,6 +26,7 @@ export type TimelineProps = {
26
26
  } & MuiTimelineProps;
27
27
 
28
28
  export const Timeline = (props: TimelineProps) => {
29
+ const { timelineItems, ...otherProps } = props;
29
30
  const theme = useTheme();
30
31
  const hasOppositeContent = props.timelineItems.some(
31
32
  (item) => item.timelineOppositeContent,
@@ -47,7 +48,7 @@ export const Timeline = (props: TimelineProps) => {
47
48
  };
48
49
  return (
49
50
  <MuiTimeline
50
- {...props}
51
+ {...otherProps}
51
52
  sx={
52
53
  hasOppositeContent ||
53
54
  props.position === 'alternate' ||