diff --git a/src/components/molecules/widgets/AccidentCountByRoadLight.tsx b/src/components/molecules/widgets/AccidentCountByRoadLight.tsx index c85dcf29..2cb99bc6 100644 --- a/src/components/molecules/widgets/AccidentCountByRoadLight.tsx +++ b/src/components/molecules/widgets/AccidentCountByRoadLight.tsx @@ -1,12 +1,24 @@ import React, { FC } from 'react'; import { IWidgetAccidentCountByRoadLight } from 'models/WidgetData'; +import PieChartView from 'components/molecules/PieChartView'; +const ROAD_LIGHT = 'road_light'; +const COUNT = 'count'; +const INNER_RADIUS = '40%'; +const OUTER_RADIUS = '70%'; interface IProps { data: IWidgetAccidentCountByRoadLight; - segmentText: string; } -const AccidentCountByRoadLight: FC = () => { - return
{}
; +const AccidentCountByRoadLight: FC = ({ data }) => { + return ( + + ); }; -export default AccidentCountByRoadLight; +export default AccidentCountByRoadLight; \ No newline at end of file