Feat/charts#694
Conversation
GitLab Pipeline ActionGeneral informationLink to pipeline: https://gitlab.com/code0-tech/development/pictor/-/pipelines/2560714172 Status: Passed Job summariesstorybook:buildStorybook available at https://code0-tech.gitlab.io/-/development/pictor/-/jobs/14595254281/artifacts/storybook-static/index.html |
| color?: string | ||
| } | ||
|
|
||
| function ChartTooltipContent({ |
There was a problem hiding this comment.
why defining a custom content in the first place. Just use the rechart component and give it some styling.
There was a problem hiding this comment.
I cant implement the same functionality & design if I use the recharts component.
| nameKey?: string | ||
| } | ||
|
|
||
| function ChartLegendContent({ |
There was a problem hiding this comment.
why defining a custom content in the first place. Just use the rechart component and give it some styling.
There was a problem hiding this comment.
I cant implement the same functionality & design if I use the recharts component.
| legendProps?: React.ComponentProps<typeof RechartsPrimitive.Legend> | ||
| } | ||
|
|
||
| export function LineChart<TData extends Record<string, unknown>>({ |
There was a problem hiding this comment.
Follow standard and change to const React.FC function
There was a problem hiding this comment.
Not possible because of generics.
No description provided.