From b2cd04ed54e8e8ebb4d5b5c7e15cad28b74fa441 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 21 Feb 2024 00:57:12 +0100 Subject: [PATCH] [docs] Link to react-transition group with https --- docs/translations/api-docs/tree-view/tree-item/tree-item.json | 2 +- packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx | 2 +- packages/x-tree-view/src/TreeItem/TreeItem.tsx | 2 +- packages/x-tree-view/src/TreeItem/TreeItem.types.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/translations/api-docs/tree-view/tree-item/tree-item.json b/docs/translations/api-docs/tree-view/tree-item/tree-item.json index 89b5efa0432e..445505d7447f 100644 --- a/docs/translations/api-docs/tree-view/tree-item/tree-item.json +++ b/docs/translations/api-docs/tree-view/tree-item/tree-item.json @@ -23,7 +23,7 @@ "description": "The component used for the transition. Follow this guide to learn more about the requirements for this component." }, "TransitionProps": { - "description": "Props applied to the transition element. By default, the element is based on this Transition component." + "description": "Props applied to the transition element. By default, the element is based on this Transition component." } }, "classDescriptions": { diff --git a/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx b/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx index 64fed4c79ddf..7f30921e99bb 100644 --- a/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx +++ b/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx @@ -496,7 +496,7 @@ export function DayCalendar(inProps: DayCalendarP [utils, selectedDays], ); - // need a new ref whenever the `key` of the transition changes: http://reactcommunity.org/react-transition-group/transition/#Transition-prop-nodeRef. + // need a new ref whenever the `key` of the transition changes: https://reactcommunity.org/react-transition-group/transition/#Transition-prop-nodeRef. const transitionKey = currentMonthNumber; // eslint-disable-next-line react-hooks/exhaustive-deps const slideNodeRef = React.useMemo(() => React.createRef(), [transitionKey]); diff --git a/packages/x-tree-view/src/TreeItem/TreeItem.tsx b/packages/x-tree-view/src/TreeItem/TreeItem.tsx index c057e886343d..c863841c26dc 100644 --- a/packages/x-tree-view/src/TreeItem/TreeItem.tsx +++ b/packages/x-tree-view/src/TreeItem/TreeItem.tsx @@ -403,7 +403,7 @@ TreeItem.propTypes = { TransitionComponent: PropTypes.elementType, /** * Props applied to the transition element. - * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component. + * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component. */ TransitionProps: PropTypes.object, } as any; diff --git a/packages/x-tree-view/src/TreeItem/TreeItem.types.ts b/packages/x-tree-view/src/TreeItem/TreeItem.types.ts index a53e9d2eec96..ed39dc2fd49f 100644 --- a/packages/x-tree-view/src/TreeItem/TreeItem.types.ts +++ b/packages/x-tree-view/src/TreeItem/TreeItem.types.ts @@ -88,7 +88,7 @@ export interface TreeItemProps extends Omit, TransitionComponent?: React.JSXElementConstructor; /** * Props applied to the transition element. - * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component. + * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component. */ TransitionProps?: TransitionProps; /**