빌딩 오류 해결.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import React from 'react';
|
||||
import BarChart from './BarChart';
|
||||
import DoughnutChart from './DoughnutChart';
|
||||
import LineChart from './LineChart';
|
||||
import LineBarchart from './LineBarChart';
|
||||
import BarChart from './BarChart';
|
||||
import DoubleBarChart from './DoubleBar';
|
||||
import DoughnutChart from './DoughnutChart';
|
||||
import LineBarchart from './LineBarChart';
|
||||
import LineChart from './LineChart';
|
||||
|
||||
/**차트 FORM */
|
||||
const CHART_FORM = {
|
||||
@@ -36,7 +35,8 @@ const CHART_FORM = {
|
||||
// 각 차트에서 사용하는 ChartConfig 타입 정의
|
||||
type ChartConfigItem = {
|
||||
label: string;
|
||||
fill: string;
|
||||
fill?: string;
|
||||
color?: string;
|
||||
};
|
||||
|
||||
type ChartConfig = {
|
||||
@@ -80,5 +80,6 @@ function MainChart(props: MainChartProps) {
|
||||
}
|
||||
|
||||
export { MainChart };
|
||||
export type { ChartConfig };
|
||||
// eslint-disable-next-line react-refresh/only-export-components
|
||||
export { CHART_FORM };
|
||||
|
||||
@@ -4,14 +4,13 @@ import { format } from "date-fns";
|
||||
import { CalendarIcon } from "lucide-react";
|
||||
import type { DayPickerSingleProps } from "react-day-picker";
|
||||
|
||||
import { Button, Calendar, Popover, PopoverContent, PopoverTrigger } from "@common/components/ui";
|
||||
import { cn } from "../../lib/utils";
|
||||
import { Button } from "@common/components/ui";
|
||||
import { Calendar } from "@common/components/ui";
|
||||
import { Popover, PopoverContent, PopoverTrigger } from "@common/components/ui";
|
||||
|
||||
type DatePickerRangeProps = {
|
||||
placeholder?: string;
|
||||
disabled?: boolean | ((date: Date) => boolean);
|
||||
onSelect: (date: Date | undefined) => void;
|
||||
} & DayPickerSingleProps;
|
||||
|
||||
export function DatePickerRange({
|
||||
|
||||
Reference in New Issue
Block a user