diff --git a/package.json b/package.json index 5f7eecb23..f35cb9452 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "react-text-mask": "~5.0.2", "react-transition-group": "^2.9.0", "react-use": "^17.3.2", - "reactstrap": "^9.1.5", + "reactstrap": "9.1.6-v10-f1a1f7e.0", "styled-jsx": "^3.3.2", "text-mask-addons": "^3.8.0", "tributejs": "^5.1.3", diff --git a/src/components/Activity/Activity.tsx b/src/components/Activity/Activity.tsx index dce2bc5e9..8ff57711c 100644 --- a/src/components/Activity/Activity.tsx +++ b/src/components/Activity/Activity.tsx @@ -17,6 +17,7 @@ interface ActivityProps extends Omit { * Extension to Bootstrap [ListGroupItem](https://getbootstrap.com/docs/4.3/components/list-group-item/) * representing a timeline event. */ +// Forward ref const Activity: FC = ({ action, by, diff --git a/src/components/Activity/ActivityLog.tsx b/src/components/Activity/ActivityLog.tsx index ea8a0d0f1..1b1e597d2 100644 --- a/src/components/Activity/ActivityLog.tsx +++ b/src/components/Activity/ActivityLog.tsx @@ -5,6 +5,7 @@ import { ListGroup, ListGroupProps } from 'reactstrap'; * Extension to Bootstrap [ListGroup](https://getbootstrap.com/docs/4.3/components/list-group/) * for listing a timeline of Activities */ +// Passes in ref const ActivityLog: FC = ({ children, ...props }) => ( {children} ); diff --git a/src/components/Address/CountryInput.tsx b/src/components/Address/CountryInput.tsx index 51993851d..61295fe19 100644 --- a/src/components/Address/CountryInput.tsx +++ b/src/components/Address/CountryInput.tsx @@ -15,6 +15,7 @@ const defaultProps = { onChange: () => {}, }; +// Forwards ref const CountryInput: FC = ({ onChange = defaultProps.onChange, ...otherProps diff --git a/src/components/Address/StateInput.tsx b/src/components/Address/StateInput.tsx index efedcbebc..908ce14b2 100644 --- a/src/components/Address/StateInput.tsx +++ b/src/components/Address/StateInput.tsx @@ -31,6 +31,7 @@ const defaultProps = { onChange: () => {}, }; +// Forwards ref const StateInput: FC = ({ className, countries = defaultProps.countries, diff --git a/src/components/Alert/Alert.tsx b/src/components/Alert/Alert.tsx index cd922fc0d..6c5282397 100644 --- a/src/components/Alert/Alert.tsx +++ b/src/components/Alert/Alert.tsx @@ -21,6 +21,7 @@ type Props = { * Extension to Bootstrap [Alert](https://getbootstrap.com/docs/4.3/components/alert/) * adding icon support and onToggle callback when dismissed. */ +// passes in ref potentially const Alert: FC = ({ color = 'warning', children, diff --git a/src/components/BlockPanel/BlockPanel.tsx b/src/components/BlockPanel/BlockPanel.tsx index 2da5e016e..ae14a6c9a 100644 --- a/src/components/BlockPanel/BlockPanel.tsx +++ b/src/components/BlockPanel/BlockPanel.tsx @@ -59,6 +59,7 @@ const defaultProps = { /** * BlockPanel is an extension to Bootstrap Card, which allows for expand/collapse and standardized header. */ +// Ref stuff const BlockPanel: FC = ({ children, className = defaultProps.className, diff --git a/src/components/Button/Close.tsx b/src/components/Button/Close.tsx index e77942179..b6ecdad10 100644 --- a/src/components/Button/Close.tsx +++ b/src/components/Button/Close.tsx @@ -1,5 +1,6 @@ import React, { FC } from 'react'; +// Pass in ref here const Close: FC> = ({ className = '', ...props }) => (