Skip to content

Commit

Permalink
feat: add height property to PeriodDimension
Browse files Browse the repository at this point in the history
  • Loading branch information
BRaimbault authored Nov 19, 2024
1 parent 90cf3e9 commit 99ae0fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/PeriodDimension/PeriodDimension.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const PeriodDimension = ({
rightFooter,
excludedPeriodTypes,
infoBoxMessage,
height,
}) => {
const { systemInfo } = useConfig()
const result = useDataQuery(userSettingsQuery)
Expand All @@ -43,6 +44,7 @@ const PeriodDimension = ({
dataTest={'period-dimension'}
excludedPeriodTypes={excludedPeriodTypes}
periodsSettings={periodsSettings}
height={height}
/>
)
}
Expand All @@ -53,6 +55,7 @@ PeriodDimension.propTypes = {
infoBoxMessage: PropTypes.string,
rightFooter: PropTypes.node,
selectedPeriods: PropTypes.array,
height: PropTypes.string,

Check failure on line 58 in src/components/PeriodDimension/PeriodDimension.js

View workflow job for this annotation

GitHub Actions / unit

Prop types declarations should be sorted alphabetically
}

PeriodDimension.defaultProps = {
Expand Down

0 comments on commit 99ae0fd

Please sign in to comment.