Refactored exports.

This commit is contained in:
Mike Cao 2023-04-21 08:00:42 -07:00
parent 1baf4d5571
commit 8bddc666b4
110 changed files with 317 additions and 124 deletions

View file

@ -11,7 +11,7 @@ import useTheme from 'hooks/useTheme';
import { DEFAULT_ANIMATION_DURATION, THEME_COLORS } from 'lib/constants';
import styles from './BarChart.module.css';
export default function BarChart({
export function BarChart({
datasets,
unit,
animationDuration = DEFAULT_ANIMATION_DURATION,
@ -210,3 +210,5 @@ export default function BarChart({
</>
);
}
export default BarChart;