Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fhd committed Dec 14, 2022
1 parent f318212 commit b16f84e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions feature-utils/poly-look/src/react-components/legends.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@ const legendComponent = (type, legends) => {
*
* @function
* @param props
* @param props.legends {LegendEntry[]}
* @param props.legend {LegendEntry[]}
* @returns {JSX.Element}
*/
export const BlockLegend = ({ legends }) => legendComponent("block", legends);
export const BlockLegend = ({ legend }) => legendComponent("block", legend);

/**
* A legend element that shows entries with colored lines.
*
* @function
* @param props
* @param props.legends {LegendEntry[]}
* @param props.legend {LegendEntry[]}
* @returns {JSX.Element}
*/
export const LineLegend = ({ legends }) => legendComponent("line", legends);
export const LineLegend = ({ legend }) => legendComponent("line", legend);

/**
* A legend element that shows entries with colored circles.
*
* @function
* @param props
* @param props.legends {LegendEntry[]}
* @param props.legend {LegendEntry[]}
* @returns {JSX.Element}
*/
export const CircleLegend = ({ legends }) => legendComponent("circle", legends);
export const CircleLegend = ({ legend }) => legendComponent("circle", legend);

0 comments on commit b16f84e

Please sign in to comment.